[PATCH 0/3] PCI/PM: Keep hotplug ports that can't wake from D3hot out of D3
From: Aviv Bakal
Date: Sun Nov 15 2026 - 12:18:52 EST
d4c79b63d82d ("PCI: Allow D3 for native hotplug-capable Root Ports on
non-x86 platforms") lets native pciehp ports runtime suspend to D3hot
on non-x86. The PCIe switch ports on AWS instances advertise PME from
D3hot but do not send it, so hotplug events such as an ENI attach are
lost on Graviton. x86 keeps the old logic, so the problem does not show
up there.
Patches 1-2 handle existing switch devices, which advertise PME:
patch 1 makes pci_bridge_d3_possible() honor PCI_DEV_FLAGS_NO_D3, and
patch 2 sets that flag on the Amazon switch ports.
Patch 3 handles switch devices that advertise no PME from D3hot: such
hotplug ports are kept out of D3.
Aviv Bakal (3):
PCI/PM: Honor PCI_DEV_FLAGS_NO_D3 in pci_bridge_d3_possible()
PCI: Avoid runtime D3 on Amazon PCIe switch ports
PCI/PM: Keep hotplug ports out of D3 if they can't signal PME from
D3hot
drivers/pci/pci.c | 16 +++++++++++++++-
drivers/pci/quirks.c | 12 ++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
base-commit: 23c62304dde29abe92013d85910d03a77dada35d
--
2.50.1