From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 221103] xhci_hcd: System lockup under CPU load during usbfs polling of USB devices on AMD platforms
Date: Fri, 28 Aug 2026 03:49:27 +0000 [thread overview]
Message-ID: <bug-221103-208809-nKVPb7JpCf@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-221103-208809@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=221103
Andrew Skalski (voltara@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |voltara@gmail.com
--- Comment #27 from Andrew Skalski (voltara@gmail.com) ---
I believe this same crash is affecting my system as well.
Motherboard: Asus Pro WS WRX90E-SAGE SE
CPU: AMD Ryzen Threadripper PRO 7985WX
Kernels I tried: 6.8, 7.0 (Ubuntu 24.04 LTS packages)
Like others have reported, the "adb" command tends to trigger the crash. I
also experience intermittent crashes upon plugging in a USB device (either by
physically plugging in the cable, or by toggling the USB switch I use to share
keyboard/mouse between two systems.) All ports seem to be affected: front
panel, rear panel, and also the ports on my Thunderbolt dock.
When the crash is a result of plugging in a device, it generates an MCE (cache
error, processor context corrupt, uncorrected.)
This loop alone is enough to cause a crash eventually. My latest attempt ran
12000+ iterations before it crashed:
while sleep 0.01 < /dev/bus/usb/002/001; do echo -n .; done
So far, I have only tried a couple nodes in /dev/bus/usb, but these two both
led to a crash:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
I tested both kernel patches mentioned in this ticket (retry xhci_resume, and
the D3cold delay) but neither one resolved the crashes. I tested both using
the Ubuntu 6.8 kernel package as a basis. I was not able to successfully build
the 7.0 kernel package.
The usbcore.autosuspend=-1 parameter appears to solve both of the crashes.
I tried enabling xhci_hcd debug logging through netconsole, but so far I have
not been able to reproduce either crash with debug logging enabled.
In case it's helpful, here's one message I've seen in the "dmesg -W" output
(running via IPMI serial console) logged right at the moment of the crash:
xhci_hcd 0000:04:00.4: Refused to change power state from D0 to D3hot
Thanks for your work so far looking into this.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2026-08-28 3:49 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-18 14:52 [Bug 221103] New: xhci_hcd: System lockup under CPU load during rapid usbfs polling of SuperSpeed root hubs on AMD Ryzen platforms bugzilla-daemon
2026-02-20 7:30 ` [Bug 221103] xhci_hcd: System lockup under CPU load during usbfs polling of USB devices on AMD platforms bugzilla-daemon
2026-02-20 8:31 ` bugzilla-daemon
2026-02-20 9:17 ` Greg KH
2026-02-20 9:16 ` bugzilla-daemon
2026-02-20 9:17 ` bugzilla-daemon
2026-02-20 9:24 ` bugzilla-daemon
2026-02-20 9:26 ` bugzilla-daemon
2026-02-20 9:28 ` bugzilla-daemon
2026-02-20 9:40 ` bugzilla-daemon
2026-02-20 10:07 ` bugzilla-daemon
2026-02-20 10:17 ` Greg KH
2026-02-20 10:17 ` bugzilla-daemon
2026-02-20 10:21 ` bugzilla-daemon
2026-02-20 11:19 ` bugzilla-daemon
2026-02-20 14:07 ` bugzilla-daemon
2026-02-20 17:18 ` bugzilla-daemon
2026-02-21 1:12 ` bugzilla-daemon
2026-02-23 13:05 ` bugzilla-daemon
2026-02-23 17:52 ` bugzilla-daemon
2026-02-23 22:33 ` bugzilla-daemon
2026-02-24 7:45 ` bugzilla-daemon
2026-02-24 8:52 ` bugzilla-daemon
2026-02-24 10:19 ` bugzilla-daemon
2026-02-24 12:03 ` bugzilla-daemon
2026-02-24 12:21 ` bugzilla-daemon
2026-02-24 15:42 ` bugzilla-daemon
2026-03-08 17:56 ` bugzilla-daemon
2026-07-09 11:58 ` bugzilla-daemon
2026-08-28 3:49 ` bugzilla-daemon [this message]
2026-08-28 5:52 ` bugzilla-daemon
2026-08-28 12:19 ` bugzilla-daemon
2026-08-28 12:28 ` bugzilla-daemon
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=bug-221103-208809-nKVPb7JpCf@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-usb@vger.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