PCI: brcmstb: Add MSI support
authorJim Quinlan <james.quinlan@broadcom.com>
Mon, 16 Dec 2019 11:01:10 +0000 (12:01 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:26 +0000 (16:33 +0100)
commite96ae6856ca75e1375dc0bd5951593868071ec2b
tree2d989e5a66d0d6b5a506726e8653310a536d2ec1
parentcf83edf71fd12bf99bd9bd48c7fd559e6ce1bbf5
PCI: brcmstb: Add MSI support

commit 40ca1bf580ef24df30702032ba5e40dfdcaa200b upstream.

This adds MSI support to the Broadcom STB PCIe host controller. The MSI
controller is physically located within the PCIe block, however, there
is no reason why the MSI controller could not be moved elsewhere in the
future. MSIX is not supported by the HW.

Since the internal Brcmstb MSI controller is intertwined with the PCIe
controller, it is not its own platform device but rather part of the
PCIe platform device.

Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
Co-developed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
drivers/pci/controller/Kconfig
drivers/pci/controller/pcie-brcmstb.c