Thanks for testing and pointing out the race with reset_work! You are right. In mt7921, mac_reset_work was missing the MT76_REMOVED check that mt7925 already had.
I attached v2: reset_work and init_work are now cancelled first in mt792xu_disconnect() added MT76_REMOVED checks to mt7921_mac_reset_work() state flags re-asserted after worker cancellations Built and verified against 7.0.0-31 headers. Please let me know how it goes! ** Patch added: "lp2167595_mt7921u_usb_disconnect_deadlock_v2.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2167595/+attachment/6001677/+files/lp2167595_mt7921u_usb_disconnect_deadlock_v2.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2167595 Title: mt7921u: USB reset after -110 timeouts deadlocks in mt7921_abort_roc, blocks rtnl_lock and shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2167595/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
