Re: [PATCH v8 4/6] AMD/IOMMU: respect AtsDisabled device flag

2021-09-28 Thread Durrant, Paul
On 28/09/2021 08:47, Jan Beulich wrote: On 28.09.2021 09:34, Durrant, Paul wrote: On 22/09/2021 15:37, Jan Beulich wrote: IVHD entries may specify that ATS is to be blocked for a device or range of devices. Honor firmware telling us so. While adding respective checks I noticed that the 2nd con

Re: [PATCH v8 4/6] AMD/IOMMU: respect AtsDisabled device flag

2021-09-28 Thread Jan Beulich
On 28.09.2021 09:34, Durrant, Paul wrote: > On 22/09/2021 15:37, Jan Beulich wrote: >> IVHD entries may specify that ATS is to be blocked for a device or range >> of devices. Honor firmware telling us so. >> >> While adding respective checks I noticed that the 2nd conditional in >> amd_iommu_setup_

Re: [PATCH v8 4/6] AMD/IOMMU: respect AtsDisabled device flag

2021-09-28 Thread Durrant, Paul
On 22/09/2021 15:37, Jan Beulich wrote: IVHD entries may specify that ATS is to be blocked for a device or range of devices. Honor firmware telling us so. While adding respective checks I noticed that the 2nd conditional in amd_iommu_setup_domain_device() failed to check the IOMMU's capability.

[PATCH v8 4/6] AMD/IOMMU: respect AtsDisabled device flag

2021-09-22 Thread Jan Beulich
IVHD entries may specify that ATS is to be blocked for a device or range of devices. Honor firmware telling us so. While adding respective checks I noticed that the 2nd conditional in amd_iommu_setup_domain_device() failed to check the IOMMU's capability. Add the missing part of the condition ther