Re: [PATCH 1/4] iommu/vt-d: Disable ATS support on untrusted devices

2019-03-02 Thread Mika Westerberg
On Fri, Mar 01, 2019 at 11:23:10AM +0800, Lu Baolu wrote: > Commit fb58fdcd295b9 ("iommu/vt-d: Do not enable ATS for untrusted > devices") disables ATS support on the devices which have been marked > as untrusted. Unfortunately this is not enough to fix the DMA attack > vulnerabiltiies because IOMM

[PATCH 1/4] iommu/vt-d: Disable ATS support on untrusted devices

2019-02-28 Thread Lu Baolu
Commit fb58fdcd295b9 ("iommu/vt-d: Do not enable ATS for untrusted devices") disables ATS support on the devices which have been marked as untrusted. Unfortunately this is not enough to fix the DMA attack vulnerabiltiies because IOMMU driver allows translated requests as long as a device advertises