Re: [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend

From: Bjorn Helgaas
Date: Mon Jan 02 2023 - 12:15:24 EST


Thank you very much for your report and all the work of bisecting,
Thomas! If you have a chance, can you collect the "sudo lspci -vv"
output (the one attached doesn't include the ASPM info, probably
because lspci wasn't run as root), and also a complete dmesg log from
before the suspend?

On Mon, Jan 02, 2023 at 02:02:51PM +0000, bugzilla-daemon@xxxxxxxxxx wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=216877
>
> Bug ID: 216877
> Summary: Regression in PCI powermanagement breaks resume after
> suspend
> Kernel Version: 6.0.0-rc1
>
> Created attachment 303512
> --> https://bugzilla.kernel.org/attachment.cgi?id=303512&action=edit
> output of git bisect log
>
> After commit 5e85eba6f50dc288c22083a7e213152bcc4b8208 "PCI/ASPM:
> Refactor L1 PM Substates Control Register programming" my Laptop
> does not resume PCI devices back from suspend.
>
> My Laptop is a Tuxedo Infinitybook S 14 v5, as far as I can tell
> they use a Clevo L140CU Mainboard.
>
> The main symptom is:
> iwlwifi 0000:02:00.0: Unable to change power state from D3hot to D0, device inaccessible
> nvme 0000:03:00.0: Unable to change power state from D3hot to D0, device inaccessible
>
> after that, the level of interaction I still have with the laptop
> varies, but It cannot run dmesg and it cannot do a clean reboot. The
> issue occurs on every suspend/resume cycle.