summaryrefslogtreecommitdiff
path: root/include/linux/generic_pt/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/generic_pt/common.h')
-rw-r--r--include/linux/generic_pt/common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/generic_pt/common.h b/include/linux/generic_pt/common.h
index 21e33489cbf2..96f8a6a7d60e 100644
--- a/include/linux/generic_pt/common.h
+++ b/include/linux/generic_pt/common.h
@@ -151,4 +151,17 @@ enum {
PT_FEAT_AMDV1_FORCE_COHERENCE,
};
+struct pt_x86_64 {
+ struct pt_common common;
+};
+
+enum {
+ /*
+ * The memory backing the tables is encrypted. Use __sme_set() to adjust
+ * the page table pointers in the tree. This only works with
+ * CONFIG_AMD_MEM_ENCRYPT.
+ */
+ PT_FEAT_X86_64_AMD_ENCRYPT_TABLES = PT_FEAT_FMT_START,
+};
+
#endif