aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2021-03-30 16:11:36 +0100
committerLorenzo Pieralisi <[email protected]>2021-04-20 14:11:21 +0100
commit313b64c3ae52bc8e953319077204cf1d286a8a99 (patch)
tree449a2fd47d2e9890b6ab93eb1e6720aa3f9f4ac7 /lib/mpi/mpi-sub-ui.c
parent161260e7f7bc58d6a0972eb41a6072e82d0b58a5 (diff)
PCI: xilinx: Convert to MSI domains
In anticipation of the removal of the msi_controller structure, convert the ancient xilinx host controller driver to MSI domains. We end-up with the usual two domain structure, the top one being a generic PCI/MSI domain, the bottom one being xilinx-specific and handling the actual HW interrupt allocation. This allows us to fix some of the most appaling MSI programming, where the message programmed in the device is the virtual IRQ number instead of the allocated vector number. The allocator is also made safe with a mutex. This should allow support for MultiMSI, but I decided not to even try, since I cannot test it. 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]> Acked-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions