Re: [Xen-devel] [PATCH v3 05/14] AMD/IOMMU: pass IOMMU to iterate_ivrs_entries() callback

2019-07-19 Thread Woods, Brian
On Tue, Jul 16, 2019 at 04:37:04PM +, Jan Beulich wrote: > Both users will want to know IOMMU properties (specifically the IRTE > size) subsequently. Leverage this to avoid pointless calls to the > callback when IVRS mapping table entries are unpopulated. To avoid > leaking interrupt remapping

Re: [Xen-devel] [PATCH v3 05/14] AMD/IOMMU: pass IOMMU to iterate_ivrs_entries() callback

2019-07-19 Thread Andrew Cooper
On 16/07/2019 17:37, Jan Beulich wrote: > Both users will want to know IOMMU properties (specifically the IRTE > size) subsequently. Leverage this to avoid pointless calls to the > callback when IVRS mapping table entries are unpopulated. To avoid > leaking interrupt remapping tables (bogusly) allo

[Xen-devel] [PATCH v3 05/14] AMD/IOMMU: pass IOMMU to iterate_ivrs_entries() callback

2019-07-16 Thread Jan Beulich
Both users will want to know IOMMU properties (specifically the IRTE size) subsequently. Leverage this to avoid pointless calls to the callback when IVRS mapping table entries are unpopulated. To avoid leaking interrupt remapping tables (bogusly) allocated for IOMMUs themselves, this requires suppr