kernel_optimize_test/drivers/usb/core
Kishon Vijay Abraham I d58fc9e9c1 usb: core: hcd: Add support for deferring roothub registration
commit 58877b0824da15698bd85a0a9dbfa8c354e6ecb7 upstream.

It has been observed with certain PCIe USB cards (like Inateck connected
to AM64 EVM or J7200 EVM) that as soon as the primary roothub is
registered, port status change is handled even before xHC is running
leading to cold plug USB devices not detected. For such cases, registering
both the root hubs along with the second HCD is required. Add support for
deferring roothub registration in usb_add_hcd(), so that both primary and
secondary roothubs are registered along with the second HCD.

CC: stable@vger.kernel.org # 5.4+
Suggested-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Tested-by: Chris Chiu <chris.chiu@canonical.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Link: https://lore.kernel.org/r/20210909064200.16216-2-kishon@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-30 10:11:00 +02:00
..
buffer.c
config.c
devices.c
devio.c USB: core: Fix incorrect pipe calculation in do_proc_control() 2021-08-26 08:35:34 -04:00
driver.c
endpoint.c
file.c
generic.c
hcd-pci.c
hcd.c usb: core: hcd: Add support for deferring roothub registration 2021-09-30 10:11:00 +02:00
hub.c usb: hub: Fix link power management max exit latency (MEL) calculations 2021-07-28 14:35:43 +02:00
hub.h usb: core: reduce power-on-good delay time of root hub 2021-06-03 09:00:52 +02:00
Kconfig
ledtrig-usbport.c
Makefile
message.c USB: core: Avoid WARNings for 0-length descriptor requests 2021-08-26 08:35:34 -04:00
notify.c
of.c
otg_productlist.h
phy.c
phy.h
port.c
quirks.c Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" 2021-07-28 14:35:41 +02:00
sysfs.c
urb.c
usb-acpi.c
usb.c drm: Use USB controller's DMA mask when importing dmabufs 2021-03-17 17:06:19 +01:00
usb.h