Skip to content

Don't make noise about disconnected USB4 devices

Mario Limonciello linux-pci linux-usb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: Don't show errors on inaccessible PCI devicesdrivers/pci/pci.c+3 -22 replies
2/4PCI: Fix runtime PM usage count underflowdrivers/pci/pci-driver.c+2 -11 reply
3/4usb: xhci: Avoid showing errors during surprise removaldrivers/usb/host/xhci-ring.c+5 -23 replies
4/4usb: xhci: Avoid showing warnings for dying controllerdrivers/usb/host/xhci.c+4 -21 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchMathias Nyman
1/4
2/4
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Don't make noise about disconnected USB4 devices

From: Mario Limonciello <[email protected]>

When a USB4 or TBT3 dock is disconnected a lot of warnings and errors are emitted related to the PCIe tunnels and XHCI controllers in th dock.

The messages are loud, but it's mostly because the functions that emit the messages don't check whether the device is actually alive. The PCIe hotplug services mark the device as perm dead, so that can be used to hide some of the messsages.

In the XHCI driver the device is marked as dying already, so that can also be used to hide messages.

Mario Limonciello (4):
PCI: Don't show errors on inaccessible PCI devices
PCI: Fix runtime PM usage count underflow
usb: xhci: Avoid showing errors during surprise removal
usb: xhci: Avoid showing warnings for dying controller

 drivers/pci/pci-driver.c     | 3 ++-
 drivers/pci/pci.c            | 5 +++--
 drivers/usb/host/xhci-ring.c | 7 +++++--
 drivers/usb/host/xhci.c      | 6 ++++--
 4 files changed, 14 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0