From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Freeman Z <SHD-ISAC@outlook.com>
Cc: "Kovacs, Alexander" <Alexander.Kovacs@amd.com>,
"Limonciello, Mario" <Mario.Limonciello@amd.com>,
"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: Fri, 25 Sep 2026 07:27:27 +0200 [thread overview]
Message-ID: <20260925052727.GV106095@black.igk.intel.com> (raw)
In-Reply-To: <TYCPR01MB109271EBFCFBEA8A8855D600496812@TYCPR01MB10927.jpnprd01.prod.outlook.com>
Hi,
I wonder if you could try the vanilla mainline kernel (not the stable
trees), this one:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
Take for example v7.3-rc4 and see if the problem happens. If it does, take
say v7.0 or whatever is the closest the stable tree that has it working and
see if that works. If that works then we have the two points needed to
bisect the issue on the mainlne.
On Thu, Sep 24, 2026 at 07:18:30AM +0000, Freeman Z wrote:
> Hi Alex, Mario and Mika,
>
> Yes. I have now tested self-built vanilla kernel.org Linux 7.0.12
> and 7.2.6 on the same machine, with thunderbolt.dyndbg=+p.
>
> The external monitor is connected through the Kensington SD5000T5
> dock.
>
> For both vanilla 7.0.12 and 7.2.6, I see the following behavior:
>
> - Cold or warm boot with the dock already attached:
> enumeration works normally in my tests.
>
> - Boot/reboot with the dock disconnected, wait until
> 0000:00:04.1 and 0000:6b:00.6 are runtime-suspended in D3cold,
> then hot-plug the dock:
> the failure reproduces before running lspci.
>
> In the failing runs on both vanilla kernels:
>
> Before hotplug:
>
> 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 hotplug, before lspci:
>
> 0000:00:04.1
> power/control = auto
> power/runtime_status = suspended
> power_state = D3cold
>
> 0000:6b:00.6
> power/control = auto
> power/runtime_status = active
> power_state = D0
>
> 0000:09:00.0
> missing
>
> Thunderbolt dynamic debug reports both:
>
> PCIe Down path activation complete
> PCIe Up path activation complete
>
> Only after running:
>
> lspci >/dev/null
>
> does the root port wake and PCIe hotplug proceed. I then see:
>
> 0000:00:04.1
> power/runtime_status = active
> power_state = D0
>
> pcieport 0000:00:04.1: pciehp: Slot(0-1): Card present
> pcieport 0000:00:04.1: pciehp: Slot(0-1): Link Up
>
> 0000:09:00.0
> present
>
> This does not appear to be a 7.0 -> 7.2 upstream regression:
> vanilla 7.0.12 and vanilla 7.2.6 show the same D3cold/hotplug
> failure.
>
> The Ubuntu 26.04.1's 7.0-based 7.0.0-30-generic kernel
> successfully enumerated the same hotplug in my previous
> test, whereas vanilla upstream 7.0.12 does not.
>
> There is one additional difference in my testing:
>
> - Vanilla 7.0.12 / 7.2.6:
> dock already attached at boot -> works so far.
>
> - CachyOS 7.2.6:
> I have also reproduced the failure with the dock already attached
> at boot.
>
> The D3cold hotplug failure is reproducible on vanilla upstream,
> while CachyOS may have an additional boot-time difference on top of
> that.
>
> Regarding the display, it is connected through the dock. Both vanilla
> 7.0.12 and 7.2.6 also log DP DPRX read timeout(s), followed by
> successful capability reads during dock setup.
>
> I attached a sanitized archive containing the complete
> before-hotplug, after-hotplug-before-lspci, and after-lspci dmesg/state
> captures for both vanilla kernels.
>
> Thanks,
> Freeman
> ________________________________________
> From: Kovacs, Alexander <Alexander.Kovacs@amd.com>
> Sent: Wednesday, 23 September 2026 19:37:13
> To: Freeman Z <SHD-ISAC@outlook.com>; Limonciello, Mario <Mario.Limonciello@amd.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
>
> AMD General
>
> Also, is the external monitor hooked directly to the system or through the dock?
>
> Replied or Forwarded By:
> Alex Kovacs
> 845-625-4422
> akovacs@amd.com
>
> -----Original Message-----
> From: Freeman Z <SHD-ISAC@outlook.com>
> Sent: Wednesday, September 23, 2026 6:52 AM
> To: Limonciello, Mario <Mario.Limonciello@amd.com>; Kovacs, Alexander <Alexander.Kovacs@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>; Martinez, Juan <Juan.Martinez@amd.com>
> Subject: Re: [BUG] PCI/USB4: AMD Phoenix 1022:14ef runtime suspend prevents JHL9480 downstream enumeration
>
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>
>
> Hi Mario, Mika and Alex,
>
> I tested the Kensington SD5000T5 dock again by using Ubuntu 26.04.1 Live with kernel 7.0.0-30-generic and thunderbolt.dyndbg=+p. The dock was disconnected at boot, and I did not run lspci before the hotplug log and power states had been saved.
>
> In this Ubuntu run the PCIe/USB enumeration worked without any workaround:
>
> 426.716: USB4 dock connection detected (host port 0:2, link up)
> 426.753: Kensington SD5000T5 discovered
> 428.410: PCIe Down path activation complete
> 428.411: PCIe Up path activation complete
> 429.025: pcieport 0000:00:04.1 reports Card present / Link Up
> 429.026: downstream 0000:09:00.0 (8086:5786) enumerated
>
> After the dock had connected, but *before* running lspci, the sysfs states were:
>
> 0000:00:04.1 power/control=auto; runtime_status=active; power_state=D0
> 0000:09:00.0 present
> 0000:6b:00.6 runtime_status=active; power_state=D0
>
> The downstream USB devices and dock Ethernet also enumerated. I then ran lspci once: 0000:00:04.1 remained active/D0, 0000:09:00.0 remained present. Thus this run cannot show an lspci-triggered wakeup or a resulting PME event: it was already working.
> In my previous failing CachyOS runs, invoking lspci could wake 00:04.1 and make 09:00.0 appear. I do not see an explicit PME delivery message at hotplug in the Ubuntu dmesg.
>
> The external display did still flicker. The Ubuntu log includes one DP tunnel DPRX read timeout at ~431.188s, followed by a completed capability read at ~431.239s, I do not know if it's related.
>
> Attached are the full Ubuntu dmesg after/before hotplug and the state files.
> Unrelated USB serial numbers and network interface MAC addresses are redacted.
>
> Thanks,
> Freeman
>
> ________________________________________
> From: Mario Limonciello <mario.limonciello@amd.com>
> Sent: Wednesday, September 23, 2026 4:00
> 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
>
> > -----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.
next prev parent reply other threads:[~2026-09-25 5:27 UTC|newest]
Thread overview: 37+ 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
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 [this message]
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-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=20260925052727.GV106095@black.igk.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=Alexander.Kovacs@amd.com \
--cc=Basavaraj.Natikar@amd.com \
--cc=Juan.Martinez@amd.com \
--cc=Mario.Limonciello@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=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