Re: [PATCH 3/4] iommu/vt-d: Handle RMRR with PCI bridge device scopes

2019-05-13 Thread Auger Eric
Hi Jacob, On 5/13/19 6:41 PM, Jacob Pan wrote: > On Mon, 13 May 2019 09:13:01 +0200 > Eric Auger wrote: > >> When reading the vtd specification and especially the >> Reserved Memory Region Reporting Structure chapter, >> it is not obvious a device scope element cannot be a >> PCI-PCI bridge, in

Re: [PATCH 3/4] iommu/vt-d: Handle RMRR with PCI bridge device scopes

2019-05-13 Thread Jacob Pan
On Mon, 13 May 2019 09:13:01 +0200 Eric Auger wrote: > When reading the vtd specification and especially the > Reserved Memory Region Reporting Structure chapter, > it is not obvious a device scope element cannot be a > PCI-PCI bridge, in which case all downstream ports are > likely to access the

[PATCH 3/4] iommu/vt-d: Handle RMRR with PCI bridge device scopes

2019-05-13 Thread Eric Auger
When reading the vtd specification and especially the Reserved Memory Region Reporting Structure chapter, it is not obvious a device scope element cannot be a PCI-PCI bridge, in which case all downstream ports are likely to access the reserved memory region. Let's handle this case in device_has_rmr