Re: [PATCH v3 7/7] iommu/vt-d: Differentiate relaxable and non relaxable RMRRs

2019-05-17 Thread Auger Eric
Hi Lu, On 5/17/19 6:46 AM, Lu Baolu wrote: > Hi Eric, > > On 5/16/19 6:08 PM, Eric Auger wrote: >> Now we have a new IOMMU_RESV_DIRECT_RELAXABLE reserved memory >> region type, let's report USB and GFX RMRRs as relaxable ones. >> >> This allows to have a finer reporting at IOMMU API level of >>

Re: [PATCH v3 7/7] iommu/vt-d: Differentiate relaxable and non relaxable RMRRs

2019-05-16 Thread Lu Baolu
Hi Eric, On 5/16/19 6:08 PM, Eric Auger wrote: Now we have a new IOMMU_RESV_DIRECT_RELAXABLE reserved memory region type, let's report USB and GFX RMRRs as relaxable ones. This allows to have a finer reporting at IOMMU API level of reserved memory regions. This will be exploitable by VFIO to

[PATCH v3 7/7] iommu/vt-d: Differentiate relaxable and non relaxable RMRRs

2019-05-16 Thread Eric Auger
Now we have a new IOMMU_RESV_DIRECT_RELAXABLE reserved memory region type, let's report USB and GFX RMRRs as relaxable ones. This allows to have a finer reporting at IOMMU API level of reserved memory regions. This will be exploitable by VFIO to define the usable IOVA range and detect potential