From: Devin Wittmayer <lucid_duck@justthetip.ca>
To: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Cc: linux-wireless@vger.kernel.org, Felix Fietkau <nbd@nbd.name>,
Lorenzo Bianconi <lorenzo@kernel.org>,
Ryder Lee <ryder.lee@mediatek.com>,
Shayne Chen <shayne.chen@mediatek.com>,
Sean Wang <sean.wang@mediatek.com>,
Nicolas Cavallari <nicolas.cavallari@green-communications.fr>,
Bert Karwatzki <spasswolf@web.de>,
Eric Biggers <ebiggers@kernel.org>,
Thorsten Leemhuis <linux@leemhuis.info>,
regressions@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH wireless] Revert "wifi: mt76: Disable napi when removing device"
Date: Tue, 4 Aug 2026 10:39:28 -0700 [thread overview]
Message-ID: <20260804173928.13547-1-lucid_duck@justthetip.ca> (raw)
In-Reply-To: <20260804120004.523934-1-mikhail.v.gavrilov@gmail.com>
The revert works here. Module unload, reboot and poweroff all work again
on an MT7922 / mt7921e, and the USB path is unchanged.
Applied on top of 7.2-rc5 with PROVE_LOCKING on a second MT7922 /
mt7921e machine, independently confirming your result. Before the revert
the first rmmod never returns: D state, refcount -1, and the same stack
you posted, taken from /proc/pid/stack and sysrq-w. With it applied, 40
of 40 load and unload cycles finish with rmmod in 0.3-0.4 s, three more
with the interface associated and receive traffic in flight all finish
under a second, and a graceful reboot and a poweroff with the driver
bound both complete normally.
mt7921e disables the same instances in its suspend and reset paths as
well, so I ran three cycles of each and unloaded after every one, to be
sure those paths leave the instances in a state the remaining disable in
mt7921e_unregister_device() still handles. They do. No warnings and no
lockdep reports in any of these runs.
Same host and kernel, USB control: mt7925u reaches mt76u_queues_deinit()
rather than mt76_dma_cleanup(), and 10 of 10 cycles on each side of the
revert behave the same.
Tested-by: Devin Wittmayer <lucid_duck@justthetip.ca>
next prev parent reply other threads:[~2026-08-04 17:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-04 12:00 [PATCH wireless] Revert "wifi: mt76: Disable napi when removing device" Mikhail Gavrilov
2026-08-04 17:39 ` Devin Wittmayer [this message]
2026-08-11 9:11 ` Thorsten Leemhuis
2026-08-11 22:30 ` Mikhail Gavrilov
2026-08-12 7:12 ` Nicolas Cavallari
2026-08-12 7:23 ` Mikhail Gavrilov
2026-08-11 9:34 ` Nicolas Cavallari
2026-08-15 17:12 ` Andrey Golovko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260804173928.13547-1-lucid_duck@justthetip.ca \
--to=lucid_duck@justthetip.ca \
--cc=ebiggers@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linux@leemhuis.info \
--cc=lorenzo@kernel.org \
--cc=mikhail.v.gavrilov@gmail.com \
--cc=nbd@nbd.name \
--cc=nicolas.cavallari@green-communications.fr \
--cc=regressions@lists.linux.dev \
--cc=ryder.lee@mediatek.com \
--cc=sean.wang@mediatek.com \
--cc=shayne.chen@mediatek.com \
--cc=spasswolf@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox