diff options
| author | Lu Baolu <[email protected]> | 2021-08-18 13:48:48 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2021-08-19 08:41:08 +0000 |
| commit | 289b3b005cb9d9dd6b30297b52c2b4596bc878b2 (patch) | |
| tree | fbbfa6ceb84862eeeb8be20af160039658b14b24 /tools/perf/scripts/python/libxed.py | |
| parent | iommu/vt-d: Enable Intel IOMMU scalable mode by default (diff) | |
| download | kernel-289b3b005cb9d9dd6b30297b52c2b4596bc878b2.tar.gz kernel-289b3b005cb9d9dd6b30297b52c2b4596bc878b2.zip | |
iommu/vt-d: Preset A/D bits for user space DMA usage
We preset the access and dirty bits for IOVA over first level usage only
for the kernel DMA (i.e., when domain type is IOMMU_DOMAIN_DMA). We should
also preset the FL A/D for user space DMA usage. The idea is that even the
user space A/D bit memory write is unnecessary. We should avoid it to
minimize the overhead.
Suggested-by: Sanjay Kumar <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
