mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] PCI: dwc: Fetch dedicated AER/PME interrupters
@ 2025-08-07  7:09 Richard Zhu
  2025-08-07  7:09 ` [PATCH v1 1/2] PCI/portdrv: Use get_service_irqs() callback to get PME/AER irqs Richard Zhu
  2025-08-07  7:09 ` [PATCH v1 2/2] PCI: dwc: Fetch dedicated AER/PME interrupters Richard Zhu
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Zhu @ 2025-08-07  7:09 UTC (permalink / raw)
  To: frank.li, Zhiqiang.Hou, bhelgaas, ilpo.jarvinen, Jonthan.Cameron,
	lukas, feng.tang, jingoohan1, mani, lpieralisi, kwilczynski,
	robh
  Cc: linux-pci, linux-kernel, imx

Some SoCs have the limitation that PME/AER can't work over MSI. And
vendors route the AER/PME via the dedicated SPI interrupt which is only
handled by the controller driver.

Add the generic get_service_irqs() callback for bridge, to let portdrv
can fetch the vendor specific AER/PME interrupter by it.

Closes: https://lore.kernel.org/linux-pci/20250702223841.GA1905230@bhelgaas/
Tested on LS1046A RDB board, the AER interrupter can be triggered by
pull-out of EP device based on v6.16 kernel.

[PATCH v1 1/2] PCI/portdrv: Use get_service_irqs() callback to get
[PATCH v1 2/2] PCI: dwc: Fetch dedicated AER/PME interrupters

drivers/pci/controller/dwc/pcie-designware-host.c | 32 ++++++++++++++++++++++++++++++++
drivers/pci/pcie/portdrv.c                        |  7 +++++++
include/linux/pci.h                               |  1 +


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

end of thread, other threads:[~2025-08-07  8:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-07  7:09 [PATCH v1 0/2] PCI: dwc: Fetch dedicated AER/PME interrupters Richard Zhu
2025-08-07  7:09 ` [PATCH v1 1/2] PCI/portdrv: Use get_service_irqs() callback to get PME/AER irqs Richard Zhu
2025-08-07  7:09 ` [PATCH v1 2/2] PCI: dwc: Fetch dedicated AER/PME interrupters Richard Zhu
2025-08-07  7:21   ` Hans Zhang
2025-08-07  7:38     ` Hongxing Zhu
2025-08-07  8:33       ` mani
2025-08-07  7:21   ` Hans Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®