Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sergio Callegari <sergio.callegari@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org, Linux Regressions <regressions@lists.linux.dev>
Subject: Re: Regression: mt7921e unable to change power state from d3cold to d0 - 6.12.x broken, past LTS 6.6.x works
Date: Sun, 30 Mar 2025 19:04:37 +0200	[thread overview]
Message-ID: <4537905b-a1bb-4597-ad25-17f95ecd3b1d@gmail.com> (raw)
In-Reply-To: <2025031923-rocklike-unbitten-9e90@gregkh>

Hi,

On 20/03/2025 00:54, Greg KH wrote:
> On Wed, Mar 19, 2025 at 08:38:52PM +0100, Sergio Callegari wrote:
>> There is a nasty regression wrt mt7921e in the last LTS series (6.12). If
>> your computer crashes or fails to get out of hibernation, then at the next
>> boot the mt7921e wifi does not work, with dmesg reporting that it is unable
>> to change power state from d3cold to d0.
>>
>> The issue is nasty, because rebooting won't help.
> 
> Can you do a 'git bisect' to track down the issue?  Also, maybe letting
> the network driver authors know about this would be good.

Bisecting is extra painful, because the issue seems to systematically 
happen only when freezing on restore from hibernation, which in turn 
seems to happen only when I get in hibernation through the 
suspend-then-hibernate path. Because this is my main machine, I need to 
desperately try to avoid these freezes/crashes, since I am afraid of 
data loss (I have already broken a filesystem once this way, and I don't 
want to repeat the experience).

However, in the meantime I have found confirmation for the issue. See:

- https://bbs.archlinux.org/viewtopic.php?id=301985
- https://forum.manjaro.org/t/wi-fi-mt7921e-stopped-working/175867

I would not totally trust the second link where it says that 6.12.4 was OK.

The general wisdom seems to be that with recent kernels you need to 
disable ASPM for mt7921e. Now I wonder if 6.6 was maybe not activating 
aspm for that device...

There is also:

- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2059744

 From which I get that the problem was already present in 6.8 and that, 
removing the mt7921e kernel module before shutdown and suspend may work 
around the issue.

Sergio




> 
> thanks,
> 
> greg k-h


      parent reply	other threads:[~2025-03-30 17:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 19:38 Regression: mt7921e unable to change power state from d3cold to d0 - 6.12.x broken, past LTS 6.6.x works Sergio Callegari
2025-03-19 23:54 ` Greg KH
2025-03-20  7:49   ` Sergio Callegari
2025-03-20 10:05     ` Christian Heusel
2025-03-30 16:35       ` Sergio Callegari
2025-04-14  9:09         ` Sergio Callegari
2025-03-30 17:04   ` Sergio Callegari [this message]

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=4537905b-a1bb-4597-ad25-17f95ecd3b1d@gmail.com \
    --to=sergio.callegari@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    /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