On 18/01/2019 13:29, Pierre Morel wrote:
On 17/01/2019 14:02, Robin Murphy wrote:
On 15/01/2019 17:37, Pierre Morel wrote:
The s390 iommu can only allow DMA transactions between the zPCI device
entries start_dma and end_dma.
I already posted a patch retrieving the geometry through
VFIO_IOMMU_GET_INFO using a specific capability for the geometry ,
and AFAIU, Alex did not agree with this.
On arm we also need to report the IOMMU geometry to userspace (max IOVA
size in particular). Shameer has been working on a solution  that
presents a unified view of both geometry and reserved regions into the
VFIO_IOMMU_GET_INFO call, and I think we should go with that. If I
understand correctly it's currently blocked on the RMRR problem and
we're waiting for Jacob or Ashok to take a look at it, as Kevin pinged
them on thread ?
What is different in what you propose?
@Alex: I was hoping that this patch goes in your direction. What do you
This seems to me related with the work Shameer has started on
vfio_iommu_type1 so I add Alex and Shameer to the CC list.
Pierre Morel (1):
ÂÂ iommu/s390: Declare s390 iommu reserved regions
Â drivers/iommu/s390-iommu.c | 29 +++++++++++++++++++++++++++++
Â 1 file changed, 29 insertions(+)