summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2023-04-13 07:06:37 +0300
committerJoerg Roedel <jroedel@suse.de>2023-04-13 13:05:49 +0300
commita7050fbde36e0634f89d41e6384c140fe4ae011e (patch)
treede5a3d55105afabcea4c222e9545e5f72820d3eb /tools/perf/scripts/python/syscall-counts-by-pid.py
parenta06c2ecec113fa882f48eb71e9d7e8fb520b1c78 (diff)
downloadlinux-a7050fbde36e0634f89d41e6384c140fe4ae011e.tar.xz
iommu/vt-d: Use non-privileged mode for all PASIDs
Supervisor Request Enable (SRE) bit in a PASID entry is for permission checking on DMA requests. When SRE = 0, DMA with supervisor privilege will be blocked. However, for in-kernel DMA this is not necessary in that we are targeting kernel memory anyway. There's no need to differentiate user and kernel for in-kernel DMA. Let's use non-privileged (user) permission for all PASIDs used in kernel, it will be consistent with DMA without PASID (RID_PASID) as well. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Link: https://lore.kernel.org/r/20230331231137.1947675-2-jacob.jun.pan@linux.intel.com Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions