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 in the 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 disconnected, so that can be used to avoid an unnecessary wakeup on a disconnected device. There is also a case of a runtime PM imbalance from this situation that is fixed. v2: https://lore.kernel.org/linux-pci/20250616192813.3829124-1-superm1@xxxxxxxxxx/ Mario Limonciello (2): PCI/PM: Skip resuming to D0 if disconnected PCI: Fix runtime PM usage count underflow on device unplug drivers/pci/pci-driver.c | 3 --- drivers/pci/pci.c | 5 +++++ drivers/pci/pci.h | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) -- 2.43.0