Agreed on all points. 1. Dropped mt76_worker_disable() from mt792xu_disconnect(). As you noted, mt76u_stop_tx() already handles parking on timeout, so the extra disable only caused the WARN_ON_ONCE. 2. Added the MT76_REMOVED checks to mt7925_mac_reset_work() to match mt7921. 3. Silenced the MCU timeout prints in mt7921/mcu.c and mt7925/mcu.c when MT76_MCU_RESET or MT76_REMOVED is set.
Attached v3: - lp2167595_mt7921u_usb_disconnect_deadlock_v3.patch - SHA256: 6cb892062f369df7102c14413cfccbc1b3ab443f911785f4c54a939c9bacb180 Tested the build against 7.0.0-34-generic headers and pristine source. Let me know how it runs on your Precision 3650. ** Patch added: "Fix mt7921u/mt792xu USB disconnect deadlock on timeout v3" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2167595/+attachment/6003079/+files/lp2167595_mt7921u_usb_disconnect_deadlock_v3.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
