]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: Handle MSIs routed to multiple GIC interrupts
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 7 Jul 2022 13:47:31 +0000 (16:47 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:15:33 +0000 (15:15 -0500)
commitd05f9a087bf0603e50e218cab7b2fed7c8da6fa6
tree241ce6311c910b6e509378250ce0041e6f3dd1f9
parent9895c5b40fd8cf1862bb7e5029ea959e32f1c8c8
PCI: dwc: Handle MSIs routed to multiple GIC interrupts

On some Qualcomm platforms each group of 32 MSI vectors is routed to a
separate GIC interrupt. Implement support for such configurations by
parsing "msi0" ... "msiX" interrupts and attaching them to the chained
handler.

Note that if DT doesn't list an array of MSI interrupts and uses a single
"msi" IRQ, the driver will limit the number of supported MSI vectors to 32.

Link: https://lore.kernel.org/r/20220707134733.2436629-5-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/pci/controller/dwc/pcie-designware-host.c