diff options
Diffstat (limited to 'arch/x86/include/asm/processor-flags.h')
| -rw-r--r-- | arch/x86/include/asm/processor-flags.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/processor-flags.h b/arch/x86/include/asm/processor-flags.h index 43212a43ee69..6a60fea90b9d 100644 --- a/arch/x86/include/asm/processor-flags.h +++ b/arch/x86/include/asm/processor-flags.h | |||
| @@ -38,6 +38,11 @@ | |||
| 38 | #define CR3_ADDR_MASK __sme_clr(0x7FFFFFFFFFFFF000ull) | 38 | #define CR3_ADDR_MASK __sme_clr(0x7FFFFFFFFFFFF000ull) |
| 39 | #define CR3_PCID_MASK 0xFFFull | 39 | #define CR3_PCID_MASK 0xFFFull |
| 40 | #define CR3_NOFLUSH BIT_ULL(63) | 40 | #define CR3_NOFLUSH BIT_ULL(63) |
| 41 | |||
| 42 | #ifdef CONFIG_PAGE_TABLE_ISOLATION | ||
| 43 | # define X86_CR3_PTI_SWITCH_BIT 11 | ||
| 44 | #endif | ||
| 45 | |||
| 41 | #else | 46 | #else |
| 42 | /* | 47 | /* |
| 43 | * CR3_ADDR_MASK needs at least bits 31:5 set on PAE systems, and we save | 48 | * CR3_ADDR_MASK needs at least bits 31:5 set on PAE systems, and we save |
