public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Get DMA information from real IOMMU
@ 2019-01-09 12:41 Pierre Morel
  2019-01-09 12:41 ` [PATCH v1 1/2] vfio:iommu: Use capabilities do report IOMMU informations Pierre Morel
  2019-01-09 12:41 ` [PATCH v1 2/2] vfio:iommu: Get DMA information from real IOMMU Pierre Morel
  0 siblings, 2 replies; 9+ messages in thread
From: Pierre Morel @ 2019-01-09 12:41 UTC (permalink / raw)
  To: alex.williamson; +Cc: kvm, linux-kernel, walling, cohuck, david, pasic, thuth

The zPCI driver needs to get specific information from the host
IOMMU.
In this patch, the IOMMU DMA start and end usable addresses are
retrieved using the VFIO_IOMMU_GET_INFO iotcl by introducing
capabilities to the vfio_iommu_type1_info structure.

Pierre Morel (2):
  vfio:iommu: Use capabilities do report IOMMU informations
  vfio:iommu: Get DMA information from real IOMMU

 drivers/vfio/vfio_iommu_type1.c | 43 ++++++++++++++++++++++++++++++++++++++++-
 include/uapi/linux/vfio.h       |  9 +++++++++
 2 files changed, 51 insertions(+), 1 deletion(-)

-- 
2.7.4

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

end of thread, other threads:[~2019-01-10 12:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-09 12:41 [PATCH v1 0/2] Get DMA information from real IOMMU Pierre Morel
2019-01-09 12:41 ` [PATCH v1 1/2] vfio:iommu: Use capabilities do report IOMMU informations Pierre Morel
2019-01-09 15:37   ` Alex Williamson
2019-01-09 17:07     ` Pierre Morel
2019-01-09 19:43       ` Alex Williamson
2019-01-10 12:47         ` Pierre Morel
2019-01-09 17:08     ` Shameerali Kolothum Thodi
2019-01-10  0:55       ` Tian, Kevin
2019-01-09 12:41 ` [PATCH v1 2/2] vfio:iommu: Get DMA information from real IOMMU Pierre Morel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox