summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2021-03-02 02:13:57 -0800
committerJoerg Roedel <jroedel@suse.de>2021-03-18 11:42:46 +0100
commitf68c7f539b6e9712e941212ab95a1feb5a0bf3b3 (patch)
tree4794fc37921f6c6f1ea78febf86ef016bf7bde18 /tools/perf/scripts/python/export-to-sqlite.py
parent6ca69e5841f01ccbfa45e56577e1b33e14e53504 (diff)
iommu/vt-d: Enable write protect for supervisor SVM
Write protect bit, when set, inhibits supervisor writes to the read-only pages. In supervisor shared virtual addressing (SVA), where page tables are shared between CPU and DMA, IOMMU PASID entry WPE bit should match CR0.WP bit in the CPU. This patch sets WPE bit for supervisor PASIDs if CR0.WP is set. Signed-off-by: Sanjay Kumar <sanjay.k.kumar@intel.com> Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Acked-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/1614680040-1989-2-git-send-email-jacob.jun.pan@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions