From: McKenna Fan <blue_sun@tuta.io>
To: Rishabh Jain <rishabh.jain1198@gmail.com>
Cc: Mathias Nyman <mathias.nyman@intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Mario Limonciello <superm1@kernel.org>,
Michal Pecio <michal.pecio@gmail.com>,
Linux Usb <linux-usb@vger.kernel.org>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Stable <stable@vger.kernel.org>
Subject: Re: [PATCH v5] usb: pci-quirks: always assert xHCI OS ownership
Date: Fri, 11 Sep 2026 17:13:33 +0200 (CEST) [thread overview]
Message-ID: <P1FsfbW--F-9@tuta.io> (raw)
This is an independent test report for [PATCH v5] usb: pci-quirks: always assert xHCI OS ownership.
I independently reproduced the problem and tested the proposed ownership behavior on a different AMD Promontory xHCI controller.
My affected controller is:
AMD B550 / Promontory-19 xHCIPCI 1022:43ee0000:02:00.0
The machine runs Manjaro and uses ACPI deep/S3 suspend.
I ended up collecting what is, frankly, an absurd amount of evidence while chasing this, including firmware analysis and repeated A/B testing, but the shortest useful version is:
Stock Manjaro 7.2.4 kernel, no helper module loaded:
EXTCAP_USBLEGSUP = 0x00000801EXTCAP_USBLEGCTLSTS = 0x40000000HC BIOS Owned = 0
HC OS Owned = 0
After entering deep S3:
xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
After the failed resume:
EXTCAP_USBLEGSUP = 0x00000801EXTCAP_USBLEGCTLSTS = 0xc0000000
So HC OS Owned remained clear.
I then booted a custom build of the same Manjaro 7.2.4 kernel implementing the proposed behavior of asserting HC OS Owned in the xHCI handoff path. No ownership helper module was loaded.
Before S3:
EXTCAP_USBLEGSUP = 0x01000801EXTCAP_USBLEGCTLSTS = 0x40000000
HC BIOS Owned = 0
HC OS Owned = 1
I performed five consecutive deep-S3 suspend/resume cycles, including one approximately four-minute S3 residency.
All five resumed without:
xHC error in resumeUSBSTS 0x401Reinit
After the final resume:
EXTCAP_USBLEGSUP = 0x01000801EXTCAP_USBLEGCTLSTS = 0xc0000000
HC OS Owned remained asserted.
I then immediately rebooted back into the otherwise matching unmodified Manjaro 7.2.4 kernel. With no helper loaded, USBLEGSUP returned to 0x00000801, and the very first deep-S3 cycle reproduced:
xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
This also agrees with earlier reversible testing using a very small test module which changed only HC OS Owned in USBLEGSUP:
0x00000801 -> 0x01000801
It did not reset or unbind the controller, clear USBLEGCTLSTS, or make other xHCI MMIO changes. With OS Owned asserted, repeated S3 resumes succeeded; clearing OS Owned again caused the resume failure to return.
So on this 1022:43ee controller I can independently reproduce the same causal relationship:
OS Owned clear -> USBSTS 0x401 / controller reinitOS Owned asserted -> clean S3 resumeOS Owned clear -> failure returnskernel asserts it -> 5/5 clean resumesstock kernel -> first S3 fails again
One potentially useful detail is that USBLEGCTLSTS changed from 0x40000000 to 0xc0000000 after resume in both the successful and failed cases. That status change therefore does not distinguish the two outcomes here; HC OS Owned does.
This appears to extend the observed problem beyond the 1022:43fc controller in the original report to at least the related 1022:43ee Promontory controller.
I have complete logs from the positive and negative-control boots and can provide the longer A/B history or firmware findings if useful.
AI assistance disclosure: ChatGPT 5.6 Sol and Astra-medium were used during the investigation for source/code analysis, experimental planning, log comparison, and assistance preparing this report. All commands, kernel builds, suspend/resume experiments, register reads, and reported results were executed and verified on the physical system by me.
P.S. If Rishabh happens to enjoy following journalctl warnings farther than is probably reasonable, I have another USB rabbit hole which may be of interest: a kernel.org Bugzilla report on a USB3 Type-C peer-collision / port-power-management warning. The useful part is comment #1, where the issue gets reframed after more investigation:
https://bugzilla.kernel.org/show_bug.cgi?id=221987#c1
Different bug, but another fairly innocent-looking USB warning that turned out to have considerably more behind it than expected.
--
Secured with Tuta Mail:
https://tuta.com/free-email
next reply other threads:[~2026-09-11 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-11 15:13 McKenna Fan [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-09-02 3:26 [PATCH v4] usb: pci-quirks: always assert xHCI OS ownership Michal Pecio
2026-09-02 5:39 ` [PATCH v5] " Rishabh Jain
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=P1FsfbW--F-9@tuta.io \
--to=blue_sun@tuta.io \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=michal.pecio@gmail.com \
--cc=rishabh.jain1198@gmail.com \
--cc=stable@vger.kernel.org \
--cc=superm1@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