diff options
author | Lu Baolu <[email protected]> | 2019-04-12 12:26:13 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-04-12 13:02:42 +0200 |
commit | f7b0c4ce8cb3c09cb3cbfc0c663268bf99e5fa9c (patch) | |
tree | 4817c10480458ebb352f30cc5158c3a235c4bfa2 /tools/perf/util/c++/clang-test.cpp | |
parent | be068fa236c3d697c77f02f3dc9cd7afeb0538a6 (diff) |
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 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions