summaryrefslogtreecommitdiff
path: root/lib/refcount.c
diff options
context:
space:
mode:
authorMinda Chen <minda.chen@starfivetech.com>2024-01-08 14:06:04 +0300
committerHal Feng <hal.feng@starfivetech.com>2024-01-18 13:08:47 +0300
commit139f23864a8f70ad1713d952b64a94df579c513e (patch)
tree688a2bd3185401c8cfe73d584eca4f5c0b9a201b /lib/refcount.c
parentbe60cf15a012a5a1cf3a15a45957a5bc1e12fdbf (diff)
downloadlinux-139f23864a8f70ad1713d952b64a94df579c513e.tar.xz
PCI: microchip: Add get_events() callback and add PLDA get_event()
As PLDA dts binding doc(Documentation/devicetree/bindings/pci/ plda,xpressrich3-axi-common.yaml) showes, PLDA PCIe contains an interrupt controller. PolarFire implements its own PCIe interrupts, additional to the regular PCIe interrupts, due to lack of an MSI controller, so the interrupt to event number mapping is different to the PLDA regular interrupts, necessitating a custom get_events() implementation. Microchip Polarfire PCIe additional intrerrupts: EVENT_PCIE_L2_EXIT EVENT_PCIE_HOTRST_EXIT EVENT_PCIE_DLUP_EXIT EVENT_SEC_TX_RAM_SEC_ERR EVENT_SEC_RX_RAM_SEC_ERR .... plda_get_events() adds interrupt register to PLDA local event num mapping codes. All The PLDA interrupts can be seen in new added graph. Signed-off-by: Minda Chen <minda.chen@starfivetech.com> Acked-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'lib/refcount.c')
0 files changed, 0 insertions, 0 deletions