diff options
author | Marc Zyngier <[email protected]> | 2021-03-30 16:11:35 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2021-04-20 14:11:21 +0100 |
commit | 161260e7f7bc58d6a0972eb41a6072e82d0b58a5 (patch) | |
tree | c41a541a0d86ba776fe8cd3c6c66ab8758401135 /lib/mpi/mpi-sub-ui.c | |
parent | 83ed8d4fa656d37d17bb83203485e3f7a2360e7a (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/[email protected]
Tested-by: Bharat Kumar Gogada <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions