[RFC PATCH 0/6] vfio: Add interface to map MSI pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series add the interface to map MSI pages in iommu
for msi-capable device pass-through using vfio.

First patch adds a generic interface to set reserved iova regions.
These reserved regions can be used for mapping physical address.
Follow-up patches uses these reserved iova for mapping msi-pages.

This patch series does not provide interface to let user-space know
how many minimum reserved iova regions are required on a given platform.
This interface can be added once this patches series get reviewed and will
be in acceptable state.

Bharat Bhushan (6):
  vfio: Add interface for add/del reserved iova region
  iommu: Add interface to get msi-pages mapping attributes
  vfio: Extend iommu-info to return MSIs automap state
  vfio: Add interface to iommu-map/unmap MSI pages
  vfio-pci: Create iommu mapping for msi interrupt
  arm-smmu: Allow to set iommu mapping for MSI

 drivers/iommu/arm-smmu.c          |   8 +
 drivers/iommu/fsl_pamu_domain.c   |   3 +
 drivers/iommu/iommu.c             |  14 ++
 drivers/vfio/pci/vfio_pci_intrs.c |  36 +++-
 drivers/vfio/vfio.c               |  52 ++++++
 drivers/vfio/vfio_iommu_type1.c   | 344 +++++++++++++++++++++++++++++++++++++-
 include/linux/iommu.h             |   9 +-
 include/linux/vfio.h              |   9 +-
 include/uapi/linux/vfio.h         |  46 +++++
 9 files changed, 516 insertions(+), 5 deletions(-)

-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux