Kishon Vijay Abraham I
1b767500d1
usb: core: hcd: Add support for deferring roothub registration
...
commit a44623d9279086c89f631201d993aa332f7c9e66 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.
This patch has been added and reverted earier as it triggered a race
in usb device enumeration.
That race is now fixed in 5.16-rc3, and in stable back to 5.4
commit 6cca13de26ee ("usb: hub: Fix locking issues with address0_mutex")
commit 6ae6dc22d2d1 ("usb: hub: Fix usb enumeration issue due to address0
race")
CC: [email protected] # 5.4+
Suggested-by: Mathias Nyman <[email protected] >
Tested-by: Chris Chiu <[email protected] >
Acked-by: Alan Stern <[email protected] >
Signed-off-by: Kishon Vijay Abraham I <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2022-06-14 18:11:24 +02:00
..
accessibility
acpi
ACPI: sysfs: Fix BERT error region memory mapping
2022-06-06 08:33:49 +02:00
amba
ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
2021-11-06 13:59:45 +01:00
android
binder: fix handling of error during copy
2022-01-27 09:19:38 +01:00
ata
ata: pata_marvell: Check the 'bmdma_addr' beforing reading
2022-04-27 13:50:48 +02:00
atm
atm: eni: Add check for dma_map_single
2022-03-23 09:12:07 +01:00
auxdisplay
auxdisplay: ht16k33: Fix frame buffer device blanking
2021-11-17 09:48:45 +01:00
base
firmware_loader: use kernel credentials when reading firmware
2022-05-25 09:14:38 +02:00
bcma
block
drbd: remove usage of list iterator variable after loop
2022-05-25 09:14:32 +02:00
bluetooth
Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
2022-04-15 14:18:16 +02:00
bus
bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
2022-05-09 09:03:25 +02:00
cdrom
char
tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()
2022-06-06 08:33:51 +02:00
clk
clk: at91: generated: consider range when calculating best rate
2022-05-25 09:14:36 +02:00
clocksource
clocksource: acpi_pm: fix return value of __setup handler
2022-04-15 14:18:05 +02:00
connector
counter
cpufreq
cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
2022-05-09 09:03:25 +02:00
cpuidle
cpuidle: Fix kobject memory leaks in error paths
2021-11-17 09:48:36 +01:00
crypto
crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
2022-05-25 09:14:34 +02:00
dax
dax: make sure inodes are flushed before destroy cache
2022-04-15 14:18:12 +02:00
dca
devfreq
dio
dma
dma: at_xdmac: fix a missing check on list iterator
2022-04-27 13:50:48 +02:00
dma-buf
udmabuf: validate ubuf->pagecount
2022-04-15 14:18:10 +02:00
edac
EDAC/synopsys: Read the error count from the correct register
2022-04-27 13:50:48 +02:00
eisa
extcon
firewire
firewire: core: extend card->lock in fw_core_handle_bus_reset
2022-05-12 12:23:41 +02:00
firmware
firmware: google: Properly state IOMEM dependency
2022-04-15 14:18:20 +02:00
fpga
fsi
gnss
gpio
gpio: mvebu/pwm: Refuse requests with inverted polarity
2022-05-25 09:14:37 +02:00
gpu
drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency()
2022-06-06 08:33:50 +02:00
greybus
greybus: svc: fix an error handling bug in gb_svc_hello()
2022-04-15 14:17:58 +02:00
hid
HID: multitouch: Add support for Google Whiskers Touchpad
2022-06-06 08:33:51 +02:00
hsi
HSI: core: Fix return freed object in hsi_new_client
2022-01-27 09:19:41 +01:00
hv
Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
2022-04-20 09:19:36 +02:00
hwmon
hwmon: (f71882fg) Fix negative temperature
2022-05-18 09:47:26 +02:00
hwspinlock
hwtracing
coresight: Fix TRCCONFIGR.QE sysfs interface
2022-04-15 14:17:57 +02:00
i2c
drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers
2022-06-06 08:33:49 +02:00
i3c
ide
idle
iio
iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
2022-05-09 09:03:21 +02:00
infiniband
RDMA/siw: Fix a condition race issue in MPA request processing
2022-05-12 12:23:45 +02:00
input
Input: goodix - fix spurious key release events
2022-06-06 08:33:48 +02:00
interconnect
iommu
iommu/arm-smmu-v3: fix event handling soft lockup
2022-04-15 14:18:33 +02:00
ipack
ipack: ipoctal: fix module reference leak
2021-10-06 15:42:36 +02:00
irqchip
irqchip/gic-v3: Fix GICR_CTLR.RWP polling
2022-04-15 14:18:40 +02:00
isdn
mISDN: change function names to avoid conflicts
2022-01-11 15:23:33 +01:00
leds
lightnvm
lightnvm: disable the subsystem
2022-05-09 09:03:20 +02:00
macintosh
mailbox
mailbox: tegra-hsp: Flush whole channel
2022-04-15 14:18:01 +02:00
mcb
md
raid5: introduce MD_BROKEN
2022-06-06 08:33:51 +02:00
media
media: vim2m: initialize the media device earlier
2022-06-06 08:33:49 +02:00
memory
memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
2022-04-20 09:19:34 +02:00
memstick
memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
2021-11-17 09:48:37 +01:00
message
mfd
mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
2022-04-15 14:18:17 +02:00
misc
kgdbts: fix return value of __setup handler
2022-04-15 14:18:20 +02:00
mmc
mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch()
2022-05-25 09:14:33 +02:00
mtd
mtd: rawnand: Fix return value check of wait_for_completion_timeout
2022-05-09 09:03:24 +02:00
mux
net
net: ftgmac100: Disable hardware checksum on AST2600
2022-06-06 08:33:49 +02:00
nfc
nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
2022-05-12 12:23:44 +02:00
ntb
nubus
nvdimm
libnvdimm/pmem: Fix crash triggered when I/O in-flight during unbind
2021-10-06 15:42:38 +02:00
nvme
nvme-multipath: fix hang when disk goes live over reconnect
2022-05-25 09:14:32 +02:00
nvmem
nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells
2021-10-20 11:40:14 +02:00
of
of: base: Improve argument length mismatch error
2022-01-27 09:19:51 +01:00
opp
opp: Fix return in _opp_add_static_v2()
2021-11-17 09:48:44 +01:00
oprofile
parisc
parisc: Fix CPU affinity for Lasi, WAX and Dino chips
2022-04-15 14:18:36 +02:00
parport
pci
PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
2022-05-25 09:14:34 +02:00
pcmcia
pcmcia: fix setting of kthread task states
2022-01-27 09:19:37 +01:00
perf
arm_pmu: Validate single/group leader events
2022-04-27 13:50:50 +02:00
phy
phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
2022-05-09 09:03:24 +02:00
pinctrl
pinctrl: sunxi: fix f1c100s uart2 function
2022-06-06 08:33:49 +02:00
platform
platform/chrome: cros_ec_debugfs: detach log reader wq from devm
2022-05-25 09:14:33 +02:00
pnp
power
power: supply: axp288-charger: Set Vhold to 4.4V
2022-04-15 14:18:33 +02:00
powercap
pps
ps3
ptp
ptp: replace snprintf with sysfs_emit
2022-04-15 14:18:32 +02:00
pwm
pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
2022-04-15 14:18:17 +02:00
rapidio
ras
regulator
regulator: wm8994: Add an off-on delay for WM8994 variant
2022-04-20 09:19:37 +02:00
remoteproc
remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
2022-04-15 14:18:19 +02:00
reset
reset: tegra-bpmp: Restore Handle errors in BPMP response
2022-04-27 13:50:47 +02:00
rpmsg
rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
2022-02-01 17:24:36 +01:00
rtc
rtc: mc146818-lib: Fix the AltCentury for AMD platforms
2022-05-25 09:14:32 +02:00
s390
s390/lcs: fix variable dereferenced before check
2022-05-18 09:47:25 +02:00
sbus
scsi
scsi: qla2xxx: Fix missed DMA unmap for aborted commands
2022-05-25 09:14:37 +02:00
sfi
sh
maple: fix wrong return value of maple_bus_init().
2021-11-26 10:47:17 +01:00
siox
slimbus
slimbus: qcom: Fix IRQ check in qcom_slim_probe
2022-05-18 09:47:27 +02:00
soc
soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
2022-04-15 14:18:07 +02:00
soundwire
spi
spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
2022-04-27 13:50:50 +02:00
spmi
ssb
staging
staging: rtl8723bs: prevent ->Ssid overflow in rtw_wx_set_scan()
2022-06-06 08:33:48 +02:00
target
scsi: target: tcmu: Fix possible page UAF
2022-04-20 09:19:36 +02:00
tc
tee
optee: use driver internal tee_context for some rpc
2022-03-02 11:41:04 +01:00
thermal
thermal: int340x: Increase bitmap size
2022-04-15 14:18:02 +02:00
thunderbolt
tty
tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe()
2022-05-18 09:47:28 +02:00
uio
usb
usb: core: hcd: Add support for deferring roothub registration
2022-06-14 18:11:24 +02:00
vfio
vhost
Fix double fget() in vhost_net_set_backend()
2022-05-25 09:14:34 +02:00
video
video: fbdev: udlfb: properly check endpoint type
2022-05-09 09:03:23 +02:00
virt
virtio
virtio: acknowledge all features before access
2022-03-16 13:21:48 +01:00
visorbus
vlynq
vme
w1
w1: w1_therm: fixes w1_seq for ds28ea00 sensors
2022-04-15 14:18:35 +02:00
watchdog
ar7: fix kernel builds for compiler test
2021-11-17 09:48:46 +01:00
xen
xen/gnttab: fix gnttab_end_foreign_access() without page specified
2022-03-11 11:22:39 +01:00
zorro
Kconfig
Makefile