summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2017-01-19 21:57:59 +0100
committerWill Deacon <will.deacon@arm.com>2017-01-23 16:00:45 +0100
commitc7b41f0af38f53e46050b56a5b0e96710097b83c (patch)
tree11687bd608512ebc4e4dbfdf4056dddfaf6af902 /drivers/irqchip
parentgenirq/msi: Set IRQ_DOMAIN_FLAG_MSI on MSI domain creation (diff)
downloadlinux-c7b41f0af38f53e46050b56a5b0e96710097b83c.tar.xz
linux-c7b41f0af38f53e46050b56a5b0e96710097b83c.zip
irqdomain: irq_domain_check_msi_remap
This new function checks whether all MSI irq domains implement IRQ remapping. This is useful to understand whether VFIO passthrough is safe with respect to interrupts. On ARM typically an MSI controller can sit downstream to the IOMMU without preventing VFIO passthrough. As such any assigned device can write into the MSI doorbell. In case the MSI controller implements IRQ remapping, assigned devices will not be able to trigger interrupts towards the host. On the contrary, the assignment must be emphasized as unsafe with respect to interrupts. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com> Tested-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com> Tested-by: Bharat Bhushan <bharat.bhushan@nxp.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions