sst-linux/drivers/pci
Ilpo Järvinen be78c69ca7 PCI: pciehp: Don't enable HPIE when resuming in poll mode
[ Upstream commit 527664f738afb6f2c58022cd35e63801e5dc7aec ]

PCIe hotplug can operate in poll mode without interrupt handlers using a
polling kthread only.  eb34da60ed ("PCI: pciehp: Disable hotplug
interrupt during suspend") failed to consider that and enables HPIE
(Hot-Plug Interrupt Enable) unconditionally when resuming the Port.

Only set HPIE if non-poll mode is in use. This makes
pcie_enable_interrupt() match how pcie_enable_notification() already
handles HPIE.

Link: https://lore.kernel.org/r/20250321162114.3939-1-ilpo.jarvinen@linux.intel.com
Fixes: eb34da60ed ("PCI: pciehp: Disable hotplug interrupt during suspend")
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:33:33 +02:00
..
controller PCI: xilinx-cpm: Fix IRQ domain leak in error path of probe 2025-04-10 14:33:33 +02:00
endpoint PCI: endpoint: Finish virtual EP removal in pci_epf_remove_vepf() 2025-02-21 13:49:45 +01:00
hotplug PCI: pciehp: Don't enable HPIE when resuming in poll mode 2025-04-10 14:33:33 +02:00
msi
pcie PCI/portdrv: Only disable pciehp interrupts early when needed 2025-04-10 14:33:32 +02:00
switch PCI: switchtec: Add Microchip PCI100X device IDs 2025-02-21 13:49:59 +01:00
access.c
ats.c
bus.c
doe.c
ecam.c
host-bridge.c
iov.c
irq.c
Kconfig
Makefile
mmap.c
of.c
p2pdma.c
pci-acpi.c
pci-bridge-emul.c
pci-bridge-emul.h
pci-driver.c PCI/PM: Mark devices disconnected if upstream PCIe link is down on resume 2024-10-17 15:21:28 +02:00
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c PCI: Add 'reset_subordinate' to reset hierarchy below bridge 2024-12-14 19:54:48 +01:00
pci.c PCI: Avoid reset when disabled via sysfs 2025-04-10 14:33:32 +02:00
pci.h PCI: Add 'reset_subordinate' to reset hierarchy below bridge 2024-12-14 19:54:48 +01:00
probe.c PCI: Remove stray put_device() in pci_register_host_bridge() 2025-04-10 14:33:33 +02:00
proc.c
quirks.c PCI: switchtec: Add Microchip PCI100X device IDs 2025-02-21 13:49:59 +01:00
remove.c
rom.c
search.c
setup-bus.c PCI: Use downstream bridges for distributing resources 2025-04-10 14:33:32 +02:00
setup-irq.c
setup-res.c
slot.c PCI: Fix use-after-free of slot->bus on hot remove 2024-12-14 19:53:59 +01:00
syscall.c
vc.c
vgaarb.c
vpd.c
xen-pcifront.c