aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJacob Pan <[email protected]>2021-03-02 02:13:57 -0800
committerJoerg Roedel <[email protected]>2021-03-18 11:42:46 +0100
commitf68c7f539b6e9712e941212ab95a1feb5a0bf3b3 (patch)
tree4794fc37921f6c6f1ea78febf86ef016bf7bde18 /tools/perf/scripts/python/export-to-postgresql.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 <[email protected]> Signed-off-by: Jacob Pan <[email protected]> Acked-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions