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..625a52a5594f 100644 --- a/arch/x86/include/asm/processor-flags.h +++ b/arch/x86/include/asm/processor-flags.h @@ -38,6 +38,11 @@  #define CR3_ADDR_MASK	__sme_clr(0x7FFFFFFFFFFFF000ull)  #define CR3_PCID_MASK	0xFFFull  #define CR3_NOFLUSH	BIT_ULL(63) + +#ifdef CONFIG_PAGE_TABLE_ISOLATION +# define X86_CR3_PTI_PCID_USER_BIT	11 +#endif +  #else  /*   * CR3_ADDR_MASK needs at least bits 31:5 set on PAE systems, and we save |