linux/drivers/usb
Mario Limonciello bb5e9e7369 usb: xhci: Avoid showing errors during surprise removal
[ Upstream commit 4b9c60e440 ]

When a USB4 dock is unplugged from a system it won't respond to ring
events. The PCI core handles the surprise removal event and notifies
all PCI drivers. The XHCI PCI driver sets a flag that the device is
being removed as well.

When that flag is set don't show messages in the cleanup path for
marking the controller dead.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20250717073107.488599-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-08-28 16:25:52 +02:00
..
atm usb: atm: cxacru: fix a flaw in existing endpoint checks 2025-03-13 12:53:20 +01:00
c67x00 USB: c67x00: remove unnecessary check of res 2022-05-12 11:36:46 +02:00
cdns3 usb: cdnsp: Fix issue with CV Bad Descriptor test 2025-07-17 18:32:10 +02:00
chipidea usb: chipidea: add USB PHY event 2025-08-15 12:04:52 +02:00
class usb: cdc-wdm: avoid setting WDM_READ for ZLP-s 2025-07-06 10:57:56 +02:00
common usb: common: usb-conn-gpio: use a unique name for usb connector device 2025-07-06 10:57:55 +02:00
core usb: hub: Don't try to recover devices lost during warm reset. 2025-07-24 08:51:54 +02:00
dwc2 usb: dwc2: also exit clock_gating when stopping udc while suspended 2025-07-06 10:57:55 +02:00
dwc3 usb: dwc3: qcom: Don't leave BCR asserted 2025-07-24 08:51:55 +02:00
early usb: early: xhci-dbc: Fix early_ioremap leak 2025-08-15 12:04:54 +02:00
gadget usb: gadget : fix use-after-free in composite_dev_cleanup() 2025-08-15 12:05:13 +02:00
host usb: xhci: Avoid showing errors during surprise removal 2025-08-28 16:25:52 +02:00
image usb/image: fix repeated words in comments 2022-07-27 14:33:53 +02:00
isp1760 usb: isp1760: Fix out-of-bounds array access 2022-05-19 18:10:59 +02:00
misc usb: misc: apple-mfi-fastcharge: Make power supply names unique 2025-08-15 12:04:53 +02:00
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-01-25 15:27:40 -08:00
mtu3 usb: mtu3: fix kernel panic at qmu transfer done irq handler 2023-05-11 23:03:30 +09:00
musb usb: musb: fix gadget state on disconnect 2025-07-24 08:51:54 +02:00
phy usb: phy: mxs: disconnect line when USB charger is attached 2025-08-15 12:04:52 +02:00
renesas_usbhs usb: renesas_usbhs: Reorder clock handling and power management in probe 2025-06-27 11:07:16 +01:00
roles usb: roles: set switch registered flag early on 2025-02-21 13:50:01 +01:00
serial USB: serial: option: add Foxconn T99W709 2025-08-15 12:05:12 +02:00
storage usb: storage: Ignore UAS driver for SanDisk 3.2 Gen2 storage device 2025-06-27 11:07:05 +01:00
typec usb: typec: ucsi: psy: Set current max to 100mA for BC 1.2 and Default 2025-08-28 16:25:52 +02:00
usbip usbip: Don't submit special requests twice 2024-09-08 07:53:10 +02:00
Kconfig usb: remove reference to deleted config STB03xxx 2021-08-18 15:32:19 +02:00
Makefile USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected 2024-06-21 14:35:43 +02:00
usb-skeleton.c usb: usb-skeleton: Update min() to min_t() 2021-10-05 12:56:48 +02:00