aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/Kconfig
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-03-30 16:11:36 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-04-20 14:11:21 +0100
commit313b64c3ae52bc8e953319077204cf1d286a8a99 (patch)
tree449a2fd47d2e9890b6ab93eb1e6720aa3f9f4ac7 /drivers/pci/controller/Kconfig
parentPCI: xilinx: Don't allocate extra memory for the MSI capture address (diff)
downloadlinux-dev-313b64c3ae52bc8e953319077204cf1d286a8a99.tar.xz
linux-dev-313b64c3ae52bc8e953319077204cf1d286a8a99.zip
PCI: xilinx: Convert to MSI domains
In anticipation of the removal of the msi_controller structure, convert the ancient xilinx host controller driver to MSI domains. We end-up with the usual two domain structure, the top one being a generic PCI/MSI domain, the bottom one being xilinx-specific and handling the actual HW interrupt allocation. This allows us to fix some of the most appaling MSI programming, where the message programmed in the device is the virtual IRQ number instead of the allocated vector number. The allocator is also made safe with a mutex. This should allow support for MultiMSI, but I decided not to even try, since I cannot test it. Link: https://lore.kernel.org/r/20210330151145.997953-6-maz@kernel.org Tested-by: Bharat Kumar Gogada <bharatku@xilinx.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/Kconfig')
-rw-r--r--drivers/pci/controller/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 5cc07d28a3a0..60045f7aafc5 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -86,7 +86,7 @@ config PCI_HOST_GENERIC
config PCIE_XILINX
bool "Xilinx AXI PCIe host bridge support"
depends on OF || COMPILE_TEST
- select PCI_MSI_ARCH_FALLBACKS
+ depends on PCI_MSI_IRQ_DOMAIN
help
Say 'Y' here if you want kernel to support the Xilinx AXI PCIe
Host Bridge driver.