Re: [PATCH v8 5/6] AMD/IOMMU: pull ATS disabling earlier

2021-09-28 Thread Durrant, Paul
On 22/09/2021 15:38, Jan Beulich wrote: Disabling should be done in the opposite order of enabling: ATS wants to be turned off before adjusting the DTE, just like it gets enabled only after the DTE was suitably prepared. Note that we want ATS to be disabled as soon as any of the DTEs involved in

[PATCH v8 5/6] AMD/IOMMU: pull ATS disabling earlier

2021-09-22 Thread Jan Beulich
Disabling should be done in the opposite order of enabling: ATS wants to be turned off before adjusting the DTE, just like it gets enabled only after the DTE was suitably prepared. Note that we want ATS to be disabled as soon as any of the DTEs involved in the handling of a device (including