]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI/MSI: Make pci_host_common_probe() declare its reliance on MSI domains
authorMarc Zyngier <maz@kernel.org>
Tue, 30 Mar 2021 15:11:42 +0000 (16:11 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 1 Apr 2021 11:18:43 +0000 (12:18 +0100)
commit98be0634c819a3d0c8b39b90b4d1621faaf954e0
tree986379792c55e123b19807b50135a3fdc83e8db9
parent419150a4ff6ad7453944da426c4cca9b03930594
PCI/MSI: Make pci_host_common_probe() declare its reliance on MSI domains

The generic PCI host driver relies on MSI domains for MSIs to
be provided to its end-points. Make this dependency explicit.

This cures the warnings occuring on arm/arm64 VMs when booted
with PCI virtio devices and no MSI controller (no GICv3 ITS,
for example).

It is likely that other drivers will need to express the same
dependency.

Link: https://lore.kernel.org/r/20210330151145.997953-12-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pci-host-common.c