Re: [PATCH] Revert "mt76: mt7921: enable aspm by default"
From: Deren Wu
Date: Wed Jun 01 2022 - 12:55:56 EST
On Wed, 2022-06-01 at 11:58 +0300, Kalle Valo wrote:
> Philippe Schenker <dev@xxxxxxxxxxxx> writes:
>
> > On Tue, 2022-04-12 at 19:06 +0800, Deren Wu wrote:
> > > On Tue, 2022-04-12 at 12:37 +0300, Kalle Valo wrote:
> > > > Philippe Schenker <dev@xxxxxxxxxxxx> writes:
> > > >
> > > > > This reverts commit bf3747ae2e25dda6a9e6c464a717c66118c588c8.
> > > > >
> > > > > This commit introduces a regression on some systems where the
> > > > > kernel is
> > > > > crashing in different locations after a reboot was issued.
> > > > >
> > > > > This issue was bisected on a Thinkpad P14s Gen2 (AMD) with
> > > > > latest
> > > > > firmware.
> > > > >
> > > > > Link:
> > > > >
https://urldefense.com/v3/__https://lore.kernel.org/linux-wireless/5077a953487275837e81bdf1808ded00b9676f9f.camel@xxxxxxxxxxxx/__;!!CTRNKA9wMg0ARbw!09tjyaQlMci3fVI3yiNiDJKUW_qwNA_CbVhoAraeIX96B99Q14J4iDycWA9cq36Y$
> > > > >
> > > > > Signed-off-by: Philippe Schenker <dev@xxxxxxxxxxxx>
> > > >
> > > > Can I take this to wireless tree? Felix, ack?
> > > >
> > > > I'll also add:
> > > >
> > > > Fixes: bf3747ae2e25 ("mt76: mt7921: enable aspm by default")
> > > >
> > >
> > > Hi Kalle,
> > >
> > > We have a patch for a similar problem. Can you wait for the
> > > verification by Philippe?
> > > Commit 602cc0c9618a81 ("mt76: mt7921e: fix possible probe failure
> > > after
> > > reboot")
> > > Link:
> > >
https://urldefense.com/v3/__https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/mediatek/mt76?id=602cc0c9618a819ab00ea3c9400742a0ca318380__;!!CTRNKA9wMg0ARbw!zCYyDcufJ-OLqQV6leCegA5SkNOOVjAIo-jzTHTk6HUWT9Gjt-bvSz8lr81Zv95u$
> > >
> > >
> > > I can reproduce the problem in my v5.16-rc5 desktop. And the
> > > issue can
> > > be fixed when the patch applied.
> > >
> > >
> > > Hi Philippe,
> > >
> > > Can you please help to check the patch in your platform?
> >
> > Hi Kalle and Deren,
> >
> > I just noticed on my system and mainline v5.18 reboots do now work
> > however Bluetooth is no longer accessible after a reboot.
> >
> > Reverting commit bf3747ae2e25dda6a9e6c464a717c66118c588c8 on top of
> > v5.18 solves this problem for me.
> >
> > @Deren are you aware of this bug?
> > @Kalle Is there a bugtracker somewhere I can submit this?
>
> For regressions the best is to submit it to the regressions list,
> CCed
> it now.
>
Hi Philippe,
Tried your test with v5.18.0 on my desktop and both wifi/bt are still
avaible after reboot. The only problem is I need to insert btusb module
by command "modprobe btusb" to make BT workable.
I will check the issue on different platforms. If there are any
finding, I will let you know.
Regards,
Deren