public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: "Mario Limonciello" <mario.limonciello@amd.com>,
	"Joyful Lee" <joy@joyfullee.me>,
	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: Sun, 5 Apr 2026 09:05:12 +0200	[thread overview]
Message-ID: <adIJqIn76ApoSdMg@wunner.de> (raw)
In-Reply-To: <20260403180422.GA341023@bhelgaas>

On Fri, Apr 03, 2026 at 01:04:22PM -0500, Bjorn Helgaas wrote:
> It looks like something is wrong with the 00:03.1 Root Port config
> space after S0ix, e.g., the HwInit Port Number is non-sensical:
> 
>   00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Strix/Strix Halo GPP Bridge
>   -               LnkCap: Port #0, Speed 16GT/s, Width x8, ASPM not supported
>   +               LnkCap: Port #247, Speed 16GT/s, Width x8, ASPM not supported
> 
> but the c4:00 device below it seems completely inaccessible; maybe the
> link is down or the endpoint is in D3cold so config reads return ~0:
> 
>   c4:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M
>   +       !!! Unknown header type 7f
>   +       Interrupt: pin ? routed to IRQ 255

The link is indeed down at the Root Port:

		LnkSta:	Speed 2.5GT/s, Width x16 (overdriven)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                                               ^^^^^^^^^

But perhaps that's expected when a port capable of x8 is configured
to x16?  I don't think system software can even influence the width,
I'd expect platform firmware to have set that incorrectly.

Elsewhere in this thread, Mario hypothesized that platform firmware
may behave incorrectly unless the OS requests control of PCIe hotplug.
Perhaps Joyful could provide an acpidump that may help confirm this.

Thanks,

Lukas

      parent reply	other threads:[~2026-04-05  7:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-02 18:49 [BUG] ASUS ProArt PX13 HN7306WU: amd_pmc s2idle S0ix corrupts AMD 1022:150b root port, NVIDIA dGPU returns header type 7f 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
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 [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=adIJqIn76ApoSdMg@wunner.de \
    --to=lukas@wunner.de \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=bhelgaas@google.com \
    --cc=hansg@kernel.org \
    --cc=helgaas@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=mario.limonciello@amd.com \
    --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