]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: Convert struct pcie_port.msi_irq to an array
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 22 Jul 2022 16:34:12 +0000 (11:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:15:33 +0000 (15:15 -0500)
commit848c2ff11f92b1051f26ff5acfe135afafce292d
tree9f46755a8ae52a37433c8b7d4520c1db4f695852
parent21f58eb4b1e28924b9e3b2459f53420e145c33d1
PCI: dwc: Convert struct pcie_port.msi_irq to an array

The Qualcomm DWC PCIe controller supports more than 32 MSI interrupts, but
they are routed to separate interrupts in groups of 32 vectors. To support
this configuration, change the msi_irq field to an array. Let the DWC core
handle all interrupts that were set in this array.

[bhelgaas: reorder, drop "irq" temporary to make patch cleaner]
Link: https://lore.kernel.org/r/20220707134733.2436629-3-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/pci-dra7xx.c
drivers/pci/controller/dwc/pci-exynos.c
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/dwc/pcie-designware.h
drivers/pci/controller/dwc/pcie-keembay.c
drivers/pci/controller/dwc/pcie-spear13xx.c
drivers/pci/controller/dwc/pcie-tegra194.c