[PATCH v2 0/2] Don't make noise about disconnected USB4 devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mario Limonciello <mario.limonciello@xxxxxxx>

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.

v2:
 * Drop USB patches, these were merged in USB tree already
 * Use pci_dev_is_disconnected() instead

Mario Limonciello (2):
  PCI: Don't show errors on inaccessible PCI devices
  PCI: Fix runtime PM usage count underflow

 drivers/pci/pci-driver.c | 3 ++-
 drivers/pci/pci.c        | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

-- 
2.43.0





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux