PCI: apple: Implement MSI support
authorMarc Zyngier <maz@kernel.org>
Wed, 29 Sep 2021 16:38:40 +0000 (17:38 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Nov 2021 21:29:30 +0000 (16:29 -0500)
commit476c41ed4597512f9da334be8ddf2fb2262d3057
tree886b1cd5bd7f005cecfc4e075359f07d5a71b83e
parentd8fcbe52d7d382106ab1dfa89c4b6a4952524125
PCI: apple: Implement MSI support

Probe for the 'msi-ranges' property, and implement the MSI support in the
form of the usual two-level hierarchy.

Note that contrary to the wired interrupts, MSIs are shared among all the
ports.

Link: https://lore.kernel.org/r/20210929163847.2807812-8-maz@kernel.org
Tested-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pcie-apple.c