kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/6] vfio: Add interface to map MSI pages
@ 2015-09-30 14:57 Bharat Bhushan
  2016-01-12  8:55 ` Eric Auger
  0 siblings, 1 reply; 7+ messages in thread
From: Bharat Bhushan @ 2015-09-30 14:57 UTC (permalink / raw)
  To: kvmarm, kvm, alex.williamson; +Cc: marc.zyngier, will.deacon

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

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

end of thread, other threads:[~2016-01-19  4:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 14:57 [RFC PATCH 0/6] vfio: Add interface to map MSI pages Bharat Bhushan
2016-01-12  8:55 ` Eric Auger
2016-01-12  9:00   ` Bharat Bhushan
2016-01-12  9:30     ` Eric Auger
2016-01-12  9:49   ` Pavel Fedin
2016-01-12 10:34     ` Eric Auger
2016-01-19  4:11       ` Pranav Sawargaonkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).