PCI: iproc: Support multi-MSI only on uniprocessor kernel
authorSandor Bodo-Merle <sbodomerle@gmail.com>
Tue, 22 Jun 2021 15:26:30 +0000 (17:26 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 22 Jun 2021 15:43:42 +0000 (16:43 +0100)
commit2dc0a201d0f59e6818ef443609f0850a32910844
tree0c656222fbe4bbe90f70c1accda5828d7c850554
parente673d697b9a234fc3544ac240e173cef8c82b349
PCI: iproc: Support multi-MSI only on uniprocessor kernel

The interrupt affinity scheme used by this driver is incompatible with
multi-MSI as it implies moving the doorbell address to that of another MSI
group.  This isn't possible for multi-MSI, as all the MSIs must have the
same doorbell address. As such it is restricted to systems with a single
CPU.

Link: https://lore.kernel.org/r/20210622152630.40842-2-sbodomerle@gmail.com
Fixes: fc54bae28818 ("PCI: iproc: Allow allocation of multiple MSIs")
Reported-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Sandor Bodo-Merle <sbodomerle@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Pali Rohár <pali@kernel.org>
Acked-by: Ray Jui <ray.jui@broadcom.com>
drivers/pci/controller/pcie-iproc-msi.c