diff options
| author | Lu Baolu <[email protected]> | 2019-04-12 04:26:13 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2019-04-12 11:02:42 +0000 |
| commit | f7b0c4ce8cb3c09cb3cbfc0c663268bf99e5fa9c (patch) | |
| tree | 4817c10480458ebb352f30cc5158c3a235c4bfa2 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | vfio/type1: Handle different mdev isolation type (diff) | |
| download | kernel-f7b0c4ce8cb3c09cb3cbfc0c663268bf99e5fa9c.tar.gz kernel-f7b0c4ce8cb3c09cb3cbfc0c663268bf99e5fa9c.zip | |
iommu/vt-d: Flush IOTLB for untrusted device in time
By default, for performance consideration, Intel IOMMU
driver won't flush IOTLB immediately after a buffer is
unmapped. It schedules a thread and flushes IOTLB in a
batched mode. This isn't suitable for untrusted device
since it still can access the memory even if it isn't
supposed to do so.
Cc: Ashok Raj <[email protected]>
Cc: Jacob Pan <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Tested-by: Xu Pengfei <[email protected]>
Tested-by: Mika Westerberg <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
