aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pcie-xilinx.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2021-03-30 16:11:33 +0100
committerLorenzo Pieralisi <[email protected]>2021-04-20 14:11:21 +0100
commit93cd1bb4862d71298ad5ec86991eac0a119d024d (patch)
treec7c3582111848e8d6e18bb37f7c6846cf5a64047 /drivers/pci/controller/pcie-xilinx.c
parent2c99e55f795593c5f029f65c4b4ab2a72bb076a3 (diff)
PCI: rcar: 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. Since the rcar platform already has a requirement that this address should be in the first 4GB of the physical address space, use the controller's own base address as the capture address. Link: https://lore.kernel.org/r/[email protected] Tested-by: Yoshihiro Shimoda <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Yoshihiro Shimoda <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pcie-xilinx.c')
0 files changed, 0 insertions, 0 deletions