From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Morel Subject: [PATCH v1 0/2] Get DMA information from real IOMMU Date: Wed, 9 Jan 2019 13:41:52 +0100 Message-ID: <1547037714-21592-1-git-send-email-pmorel@linux.ibm.com> Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, walling@linux.ibm.com, cohuck@redhat.com, david@redhat.com, pasic@linux.ibm.com, thuth@redhat.com To: alex.williamson@redhat.com Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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