ACK: [PATCH 0/4][SRU][F/H] Fix cold plugged USB device on certain PCIe USB cards
Stefan Bader
stefan.bader at canonical.com
Thu Oct 7 07:50:59 UTC 2021
On 28.09.21 07:07, Chris Chiu wrote:
> BugLink: https://bugs.launchpad.net/bugs/1945211
>
> [SRU Justification]
>
> [Impact]
> Cold plugged USB device was not detected on certain PCIe USB cards
> (like Inateck card connected to AM64 EVM or connected to J7200 EVM).
> And also the root hub mentioned in https://bugs.launchpad.net/bugs/1939638.
>
> Re-plugging the USB device always gets it enumerated.
>
> [Fix]
> As soonprimary roothub is registered, port status change is handled
> even before xHC is running and leads to cold plug USB devices not
> detected. Register both root hubs along with the secondary hcd for xhci.
>
> [Test Case]
> 1. Plug the USB device to the ports of problematic root hub.
> 2. Power on the machine.
> 3. Check if the USB device can work or not after boot.
>
> [Regression Potential]
> Low. It simply make sure both primary and secondary roothubs are registered along with the second HCD.
>
> Chris Chiu (1):
> Revert "UBUNTU: SAUCE: Revert "usb: core: reduce power-on-good delay
> time of root hub""
>
> Kishon Vijay Abraham I (3):
> usb: core: hcd: Add support for deferring roothub registration
> xhci: Set HCD flag to defer primary roothub registration
> usb: core: hcd: Modularize HCD stop configuration in usb_stop_hcd()
>
> drivers/usb/core/hcd.c | 68 +++++++++++++++++++++++++++--------------
> drivers/usb/core/hub.h | 6 ++--
> drivers/usb/host/xhci.c | 1 +
> include/linux/usb/hcd.h | 2 ++
> 4 files changed, 52 insertions(+), 25 deletions(-)
>
Acked-by: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20211007/93c0a98c/attachment.sig>
More information about the kernel-team
mailing list