All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Introduce MSI hardware mapping for VFIO
@ 2015-11-24 13:50 Pavel Fedin
  2015-11-24 13:50 ` [PATCH v2 1/3] vfio: Introduce map and unmap operations Pavel Fedin
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Pavel Fedin @ 2015-11-24 13:50 UTC (permalink / raw)
  To: kvm, kvmarm
  Cc: Marc Zyngier, Alex Williamson, Manish Jaggi, Thomas Gleixner,
	Jason Cooper

On some architectures (e.g. ARM64) if the device is behind an IOMMU, and
is being mapped by VFIO, it is necessary to also add mappings for MSI
translation register for interrupts to work. This series implements the
necessary API to do this, and makes use of this API for GICv3 ITS on
ARM64.

v1 => v2:
- Adde dependency on CONFIG_GENERIC_MSI_IRQ_DOMAIN in some parts of the
  code, should fix build without this option

Pavel Fedin (3):
  vfio: Introduce map and unmap operations
  gicv3, its: Introduce VFIO map and unmap operations
  vfio: Introduce generic MSI mapping operations

 drivers/irqchip/irq-gic-v3-its.c   |  31 ++++++++++
 drivers/vfio/pci/vfio_pci_intrs.c  |  11 ++++
 drivers/vfio/vfio.c                | 116 +++++++++++++++++++++++++++++++++++++
 drivers/vfio/vfio_iommu_type1.c    |  29 ++++++++++
 include/linux/irqchip/arm-gic-v3.h |   2 +
 include/linux/msi.h                |  12 ++++
 include/linux/vfio.h               |  17 +++++-
 7 files changed, 217 insertions(+), 1 deletion(-)

-- 
2.4.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-03 17:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-24 13:50 [PATCH v2 0/3] Introduce MSI hardware mapping for VFIO Pavel Fedin
2015-11-24 13:50 ` [PATCH v2 1/3] vfio: Introduce map and unmap operations Pavel Fedin
2015-11-24 13:50 ` [PATCH v2 2/3] gicv3, its: Introduce VFIO " Pavel Fedin
2015-11-24 13:50 ` [PATCH v2 3/3] vfio: Introduce generic MSI mapping operations Pavel Fedin
2015-12-02 21:32 ` [PATCH v2 0/3] Introduce MSI hardware mapping for VFIO Alex Williamson
2015-12-03 13:16   ` Pavel Fedin
2015-12-03 14:49     ` Marc Zyngier
2015-12-03 17:05     ` Alex Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.