Skip to content

Commit

Permalink
UPSTREAM: PCI: rcar: Convert to MSI domains
Browse files Browse the repository at this point in the history
In anticipation of the removal of the msi_controller structure, convert
the Rcar 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 Rcar-specific and handling
the actual HW interrupt allocation.

Link: https://lore.kernel.org/r/20210330151145.997953-4-maz@kernel.org
Tested-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
[lorenzo.pieralisi@arm.com: merged fix https://lore.kernel.org/linux-pci/87y2e2p9wk.wl-maz@kernel.org]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
(cherry picked from commit 83ed8d4)
Signed-off-by: Marc Zyngier <mzyngier@google.com>
Change-Id: Iaa326aa363010f36e90c6ba5bd47348c807b57db
Bug: 187801341
  • Loading branch information
Marc Zyngier authored and Marc Zyngier committed Jul 5, 2021
1 parent 24a2fd5 commit 00a2ac0
Show file tree
Hide file tree
Showing 2 changed files with 169 additions and 183 deletions.
1 change: 0 additions & 1 deletion drivers/pci/controller/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ config PCIE_RCAR_HOST
bool "Renesas R-Car PCIe host controller"
depends on ARCH_RENESAS || COMPILE_TEST
depends on PCI_MSI_IRQ_DOMAIN
select PCI_MSI_ARCH_FALLBACKS
help
Say Y here if you want PCIe controller support on R-Car SoCs in host
mode.
Expand Down
Loading

0 comments on commit 00a2ac0

Please sign in to comment.