diff options
| author | Lu Baolu <[email protected]> | 2021-03-20 10:54:15 +0800 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2021-04-07 11:55:47 +0200 |
| commit | 8b74b6ab253866450c131e9134642efb40439c91 (patch) | |
| tree | 2d08db67c1e29688454bedc16ee3955455fa8477 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | c0474a606ecb9326227b4d68059942f9db88a897 (diff) | |
iommu/vt-d: Avoid unnecessary cache flush in pasid entry teardown
When a present pasid entry is disassembled, all kinds of pasid related
caches need to be flushed. But when a pasid entry is not being used
(PRESENT bit not set), we don't need to do this. Check the PRESENT bit
in intel_pasid_tear_down_entry() and avoid flushing caches if it's not
set.
Signed-off-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions