summaryrefslogtreecommitdiff
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-03-30 16:11:35 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-04-20 14:11:21 +0100
commit161260e7f7bc58d6a0972eb41a6072e82d0b58a5 (patch)
treec41a541a0d86ba776fe8cd3c6c66ab8758401135 /drivers/pci/probe.c
parent83ed8d4fa656d37d17bb83203485e3f7a2360e7a (diff)
PCI: xilinx: Don't allocate extra memory for the MSI capture address
A long cargo-culted behaviour of PCI drivers is to allocate memory to obtain an address that is fed to the controller as the MSI capture address (i.e. the MSI doorbell). But there is no actual requirement for this address to be RAM. All it needs to be is a suitable aligned address that will *not* be DMA'd to. Use the physical address of the 'port' data structure as the MSI capture address, aligned on a 4K boundary. Link: https://lore.kernel.org/r/20210330151145.997953-5-maz@kernel.org Tested-by: Bharat Kumar Gogada <bharatku@xilinx.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions