Skip to content

Commit 9ec37ef

Browse files
Marc ZyngierLorenzo Pieralisi
authored andcommitted
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>
1 parent 94e89b1 commit 9ec37ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pci/controller/pci-host-common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ int pci_host_common_probe(struct platform_device *pdev)
7979

8080
bridge->sysdata = cfg;
8181
bridge->ops = (struct pci_ops *)&ops->pci_ops;
82+
bridge->msi_domain = true;
8283

8384
return pci_host_probe(bridge);
8485
}

0 commit comments

Comments
 (0)