diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-07-01 15:27:40 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-10 15:15:00 +0200 |
commit | 679e30b9536eeb93bc8c9a39c0ddc77dec536f6b (patch) | |
tree | 9e72e5c1c9d9ae8d4f3374ff85046b0a1b8185a7 /arch/powerpc/platforms/pseries/msi.c | |
parent | powerpc/powernv/pci: Customize the MSI EOI handler to support PHB3 (diff) | |
download | linux-679e30b9536eeb93bc8c9a39c0ddc77dec536f6b.tar.xz linux-679e30b9536eeb93bc8c9a39c0ddc77dec536f6b.zip |
powerpc/pci: Drop XIVE restriction on MSI domains
The PowerNV and pSeries platforms now have support for both the XICS
and XIVE IRQ domains.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701132750.1475580-23-clg@kaod.org
Diffstat (limited to '')
-rw-r--r-- | arch/powerpc/platforms/pseries/msi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pseries/msi.c b/arch/powerpc/platforms/pseries/msi.c index e2127a3f7ebd..e196cc1b8540 100644 --- a/arch/powerpc/platforms/pseries/msi.c +++ b/arch/powerpc/platforms/pseries/msi.c @@ -720,10 +720,6 @@ int pseries_msi_allocate_domains(struct pci_controller *phb) { int count; - /* Only supported by the XIVE driver */ - if (!xive_enabled()) - return -ENODEV; - if (!__find_pe_total_msi(phb->dn, &count)) { pr_err("PCI: failed to find MSIs for bridge %pOF (domain %d)\n", phb->dn, phb->global_number); |