Re: [PATCH v5 2/7] iommu/vt-d: Duplicate iommu_resv_region objects per device list

2019-05-29 Thread Auger Eric
Hi Lu, On 5/29/19 4:04 AM, Lu Baolu wrote: > Hi Eric, > > On 5/28/19 7:50 PM, Eric Auger wrote: >> intel_iommu_get_resv_regions() aims to return the list of >> reserved regions accessible by a given @device. However several >> devices can access the same reserved memory region and when >>

Re: [PATCH v5 2/7] iommu/vt-d: Duplicate iommu_resv_region objects per device list

2019-05-28 Thread Lu Baolu
Hi Eric, On 5/28/19 7:50 PM, Eric Auger wrote: intel_iommu_get_resv_regions() aims to return the list of reserved regions accessible by a given @device. However several devices can access the same reserved memory region and when building the list it is not safe to use a single iommu_resv_region

[PATCH v5 2/7] iommu/vt-d: Duplicate iommu_resv_region objects per device list

2019-05-28 Thread Eric Auger
intel_iommu_get_resv_regions() aims to return the list of reserved regions accessible by a given @device. However several devices can access the same reserved memory region and when building the list it is not safe to use a single iommu_resv_region object, whose container is the RMRR. This