mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: Joyful Lee <joy@joyfullee.me>
Cc: platform-driver-x86@vger.kernel.org,
	"Shyam Sundar S K" <Shyam-sundar.S-k@amd.com>,
	"Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	linux-pci@vger.kernel.org, "Bjorn Helgaas" <bhelgaas@google.com>,
	linux-acpi@vger.kernel.org,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [BUG] ASUS ProArt PX13 HN7306WU: amd_pmc s2idle S0ix corrupts AMD 1022:150b root port, NVIDIA dGPU returns header type 7f
Date: Fri, 3 Apr 2026 08:23:40 -0500	[thread overview]
Message-ID: <4978c9b7-00bf-4562-baae-098bd0d09ba4@amd.com> (raw)
In-Reply-To: <CADj6jrgse2NksUgkHUzTm0332ba4qnV=0QOJAnupS=Lr=5hh4A@mail.gmail.com>

On 4/2/26 4:32 PM, Joyful Lee wrote:
> On Thu, Apr 2, 2026 at 5:14 PM Mario Limonciello
> <mario.limonciello@amd.com> wrote:
>> Can you please explain what root port corruption means?  Are you
>> actually meaning graphical corruption?
>>
>> A few things I want to point out after resume that might be relevant.
>>
>>   > pci 0000:c4:00.0: Unable to change power state from D0 to D0, device
>> inaccessible
>>   > snd_hda_intel 0000:c4:00.1: Unable to change power state from D3hot
>> to D0, device inaccessible
>>
>> Both of these devices are part of the discrete GPU (VGA and Audio class
>> endpoints).  So neither came back to the right state, which to me has me
>> wondering if the EC is cutting a power rail used for the discrete GPU
>> and it's coming back at the wrong time.
>>
>> It wouldn't be the first time that the kernel raced with firmware and lost.
>>
>> What happens if you pass a PCIe reset to the root port above them after
>> resume?  Does it recover?
> 
> Corruption is just the best word I have to describe the way the dGPU
> bridge (00:03.1) comes back in an unexpected state after resume and the
> two devices under it (the NVIDIA GPU c4:00.0 and its audio device
> c4:00.1) become unresponsive. The two lspci attachments on my original
> post really demonstrate that weird state.

Got it.

> 
> Indeed, the "Unable to change power state from D0/D3hot/D3cold to D0,
> device inaccessible" messages are the main symptom of the problem. I'm
> purposefully avoiding the nouveau and nvidia drivers at this point to
> reduce confusion, but the problem happens even when they are loaded, and
> both of them crash upon resume.

Thanks - I agree with removing drivers from the equation to look at the 
behavior of bridges and root ports.

It's unfortunate that turning off pcie_port_pm didn't help either.

> 
> When I issue a reset to the root port after resume, it does not recover.
> The kernel prints the "unable to change power state" messages again and
> the devices remain unresponsive.
> 
> Joy

To your questions in the original post (again sorry for the original 
knee jerk reaction):

1) Yes semantics of how AMD-PMC works are correct for this platform. 
There are lots of other Strix designs that do everything correctly.
2) Yes; there are FW dependencies that are design specific.
3) There are no quirks for working around this bug you've found right now.

I believe this issue you're seeing is likely a platform firmware bug. 
Whether it's AGESA or it's ASUS firmware is unclear right now.

I have not seen this specific symptom you mention on other systems 
(including AMD reference systems) so I am /leaning/ more on ASUS firmware.

I notice that the BIOS you have from ASUS is quite old:

 > bios_date| 03/18/2025

Any chance there is a BIOS update available?
Unfortunately ASUS doesn't always make flashing in Linux easy, but 
hopefully you can find a way to flash the update if one is available.



  reply	other threads:[~2026-04-03 13:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-02 18:49 Joyful Lee
2026-04-02 19:58 ` Mario Limonciello
2026-04-02 20:59   ` Joyful Lee
2026-04-02 21:14     ` Mario Limonciello
2026-04-02 21:32       ` Joyful Lee
2026-04-03 13:23         ` Mario Limonciello [this message]
2026-04-03 14:11           ` Joyful Lee
2026-04-03 14:24             ` Mario Limonciello
2026-04-03 16:19               ` Joyful Lee
2026-04-03 16:48                 ` Mario Limonciello
2026-04-03 18:04                   ` Bjorn Helgaas
2026-04-03 18:41                     ` Mario Limonciello
2026-04-03 19:10                       ` Bjorn Helgaas
2026-04-03 19:11                         ` Mario Limonciello
2026-04-03 19:07                     ` Joyful Lee
2026-04-03 20:02                       ` Mario Limonciello
2026-04-03 20:47                         ` Joyful Lee
2026-04-03 21:05                           ` Mario Limonciello
2026-04-03 21:28                             ` Mario Limonciello
2026-04-05  7:16                               ` Lukas Wunner
2026-04-05  7:05                     ` Lukas Wunner

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=4978c9b7-00bf-4562-baae-098bd0d09ba4@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=bhelgaas@google.com \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=joy@joyfullee.me \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rafael@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

all inboxes | Powered by JetHome®