Linux USB
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: "Kovacs, Alexander" <Alexander.Kovacs@amd.com>,
	Freeman Z <SHD-ISAC@outlook.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"bhelgaas@google.com" <bhelgaas@google.com>,
	"westeri@kernel.org" <westeri@kernel.org>,
	"andreas.noever@gmail.com" <andreas.noever@gmail.com>,
	"YehezkelShB@gmail.com" <yehezkelshb@gmail.com>,
	"rafael@kernel.org" <rafael@kernel.org>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	"S, Sanath" <Sanath.S@amd.com>,
	"Natikar, Basavaraj" <Basavaraj.Natikar@amd.com>,
	"Martinez, Juan" <Juan.Martinez@amd.com>
Subject: Re: [BUG] PCI/USB4: AMD Phoenix 1022:14ef runtime suspend prevents JHL9480 downstream enumeration
Date: Tue, 22 Sep 2026 15:00:10 -0500	[thread overview]
Message-ID: <eaaf891b-7b0b-4eea-b104-de2c0db7cb42@amd.com> (raw)
In-Reply-To: <BL4PR12MB9533BF5ABF7035E6DF151C0A9C832@BL4PR12MB9533.namprd12.prod.outlook.com>

> -----Original Message-----
> From: Freeman Z <SHD-ISAC@outlook.com>
> Sent: Tuesday, September 22, 2026 11:41 AM
> To: Limonciello, Mario <Mario.Limonciello@amd.com>; Mika Westerberg <mika.westerberg@linux.intel.com>
> Cc: linux-pci@vger.kernel.org; linux-usb@vger.kernel.org; bhelgaas@google.com; westeri@kernel.org; andreas.noever@gmail.com; YehezkelShB@gmail.com; rafael@kernel.org; linux-pm@vger.kernel.org; S, Sanath <Sanath.S@amd.com>; Natikar, Basavaraj <Basavaraj.Natikar@amd.com>; Kovacs, Alexander <Alexander.Kovacs@amd.com>
> Subject: Re: [BUG] PCI/USB4: AMD Phoenix 1022:14ef runtime suspend prevents JHL9480 downstream enumeration
> 
> [You don't often get email from shd-isac@outlook.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
> 
> 
> Hi Mika, Mario,
> 
> I reproduced the failure following the requested sequence on my installed CachyOS system with kernel 7.2.6-1-cachyos and thunderbolt.dyndbg=+p.
> 
> For this trace the dock was physically disconnected at boot. I did not run lspci before or during the reproduction.
> 
> Before plugging the dock:
> 
>      0000:00:04.1
>        power/control        = auto
>        power/runtime_status = suspended
>        power_state          = D3cold
> 
>      0000:6b:00.6
>        power/control        = auto
>        power/runtime_status = suspended
>        power_state          = D3cold
> 
> After plugging the Kensington SD5000T5 and waiting about 15 seconds:
> 
>      0000:00:04.1
>        power/control        = auto
>        power/runtime_status = suspended
>        power_state          = D3cold
> 
>      0000:09:00.0
>        missing
> 
>      0000:6b:00.6
>        power/control        = auto
>        power/runtime_status = active
>        power_state          = D0
> 
> The Thunderbolt dynamic debug log shows the NHI/control channel waking and the USB4 fabric being configured. In particular:
> 
>      thunderbolt 0000:6b:00.6: control channel starting...
>      thunderbolt 0000:6b:00.6: 0: resuming switch
>      thunderbolt 0000:6b:00.6: 0:2: is connected, link is up (state: 2)
>      thunderbolt 0-2: Kensington SD5000T5 EQ Thunderbolt 5 Dock
>      thunderbolt 0000:6b:00.6: 0:5 <-> 2:9 (PCI): activating
>      thunderbolt 0000:6b:00.6: PCIe Down path activation complete
>      thunderbolt 0000:6b:00.6: PCIe Up path activation complete
> 
> However, I do not see a PME message corresponding to the dock insertion.
> The PME messages in the full dmesg are the early-boot
> "PME: Signaling with IRQ ..." initialization messages.
> 
> So in this reproduction, the NHI at 0000:6b:00.6 wakes from D3cold to D0 and the Thunderbolt driver successfully programs the PCIe tunnel in the
> USB4 fabric, but the AMD 1022:14ef PCIe root port/tunnel at 0000:00:04.1 remains in D3cold and the downstream 0000:09:00.0 hierarchy never appears.
> 
> I attached the full dmesg captured after the dock plug, plus the small before/after state files. I redacted only unrelated local network identifiers, the hostname, and filesystem/LUKS UUIDs; the Thunderbolt debug data and device UIDs are otherwise unchanged.
> 
> This particular dynamic-debug trace was collected on CachyOS rather than the Arch stock kernel used for my earlier reproduction.
> 
It sure sounds like a PME doesn't deliver properly for some reason.

I suppose that while in this state - if you ran lspci the root port at 
0000:00:04.1 exits D3cold and 0000:09:00.0 shows up, right?

Does the PME show up in the logs after you've done this?

Any chance you can easily check Ubuntu 26.04.1 live media?  There is a 
7.0 based kernel there, and I would like to know if this regressed from 
that.

  reply	other threads:[~2026-09-22 20:00 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-19 12:39 [BUG] PCI/USB4: AMD Phoenix 1022:14ef runtime suspend prevents JHL9480 downstream enumeration Freeman Z
2026-09-21  5:04 ` Mika Westerberg
2026-09-21 15:24   ` Mario Limonciello
2026-09-22 16:40     ` Freeman Z
2026-09-22 17:02       ` Kovacs, Alexander
2026-09-22 17:03         ` Kovacs, Alexander
2026-09-22 19:54       ` Kovacs, Alexander
2026-09-22 20:00         ` Mario Limonciello [this message]
2026-09-23 11:51           ` Freeman Z
2026-09-23 12:26             ` Kovacs, Alexander
2026-09-23 12:35               ` Mario Limonciello
2026-09-23 19:37             ` Kovacs, Alexander
2026-09-24  7:18               ` Freeman Z
2026-09-25  5:27                 ` Mika Westerberg
2026-09-25  9:38                   ` Freeman Z
2026-09-25 11:31                     ` Freeman Z
2026-09-25 11:50                       ` Mika Westerberg
2026-09-25 14:10                         ` Mario Limonciello
2026-09-25 15:12                           ` Freeman Z
2026-09-25 15:24                             ` Mario Limonciello
2026-09-25 15:48                               ` Freeman Z
2026-10-01 14:54                                 ` Kovacs, Alexander
2026-10-01 18:28                                   ` Freeman Z
2026-10-05 14:35                                     ` Kovacs, Alexander
2026-10-05 15:39                                       ` Freeman Z
2026-10-05 17:01                                         ` Kovacs, Alexander
2026-10-05 17:10                                           ` Freeman Z
2026-10-06 14:33                                             ` Kovacs, Alexander
2026-10-06 14:37                                               ` Mario Limonciello
2026-10-06 16:33                                                 ` Freeman Z
2026-10-06 17:12                                                   ` Kovacs, Alexander
2026-10-06 18:45                                                     ` Freeman Z
2026-10-06 19:18                                                       ` Kovacs, Alexander
2026-10-06 19:33                                                         ` Freeman Z
2026-10-06 19:53                                                         ` Kovacs, Alexander
2026-10-06 21:04                                                           ` Freeman Z
2026-10-09 12:47                                                             ` Kovacs, Alexander
2026-10-09 13:02                                                               ` Freeman Z
2026-10-09 13:39                                                                 ` Kovacs, Alexander
2026-10-09 14:54                                                                   ` Freeman Z
2026-09-25 14:03                       ` Kovacs, Alexander

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=eaaf891b-7b0b-4eea-b104-de2c0db7cb42@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=Alexander.Kovacs@amd.com \
    --cc=Basavaraj.Natikar@amd.com \
    --cc=Juan.Martinez@amd.com \
    --cc=SHD-ISAC@outlook.com \
    --cc=Sanath.S@amd.com \
    --cc=andreas.noever@gmail.com \
    --cc=bhelgaas@google.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=rafael@kernel.org \
    --cc=westeri@kernel.org \
    --cc=yehezkelshb@gmail.com \
    /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