aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-11-11 11:09:45 -0500
committerBorislav Petkov <[email protected]>2020-12-10 12:28:06 +0100
commit29ac40cbed2bc06fa218ca25d7f5e280d3d08a25 (patch)
treec65f56747f027d92cd6ed6e9c4c484f6f2b8ed7c /tools/perf/scripts/python/bin/export-to-postgresql-report
parente45cdc71d1fa5ac3a57b23acc31eb959e4f60135 (diff)
x86/mm/mem_encrypt: Fix definition of PMD_FLAGS_DEC_WP
The PAT bit is in different locations for 4k and 2M/1G page table entries. Add a definition for _PAGE_LARGE_CACHE_MASK to represent the three caching bits (PWT, PCD, PAT), similar to _PAGE_CACHE_MASK for 4k pages, and use it in the definition of PMD_FLAGS_DEC_WP to get the correct PAT index for write-protected pages. Fixes: 6ebcb060713f ("x86/mm: Add support to encrypt the kernel in-place") Signed-off-by: Arvind Sankar <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Tested-by: Tom Lendacky <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions