All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Don't make noise about disconnected USB4 devices
@ 2025-06-16 19:26 Mario Limonciello
  2025-06-16 19:26 ` [PATCH v2 1/2] PCI: Don't show errors on inaccessible PCI devices Mario Limonciello
  2025-06-16 19:26 ` [PATCH v2 2/2] PCI: Fix runtime PM usage count underflow Mario Limonciello
  0 siblings, 2 replies; 6+ messages in thread
From: Mario Limonciello @ 2025-06-16 19:26 UTC (permalink / raw)
  To: mario.limonciello, bhelgaas; +Cc: linux-pci

From: Mario Limonciello <mario.limonciello@amd.com>

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-06-19 13:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-16 19:26 [PATCH v2 0/2] Don't make noise about disconnected USB4 devices Mario Limonciello
2025-06-16 19:26 ` [PATCH v2 1/2] PCI: Don't show errors on inaccessible PCI devices Mario Limonciello
2025-06-19  6:14   ` Lukas Wunner
2025-06-19 13:36     ` Mario Limonciello
2025-06-16 19:26 ` [PATCH v2 2/2] PCI: Fix runtime PM usage count underflow Mario Limonciello
2025-06-19  6:09   ` Lukas Wunner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.