Searched refs:X86_CR4_PKE (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | set_sregs_test.c | 72 cr4 |= X86_CR4_PKE; in calc_supported_cr4_feature_bits() 118 test_cr4_feature_bit(vcpu, &sregs, X86_CR4_PKE); in main()
|
/linux-6.1.9/arch/x86/include/uapi/asm/ |
D | processor-flags.h | 132 #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) macro
|
/linux-6.1.9/arch/x86/kvm/ |
D | mmu.h | 40 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE)
|
D | x86.h | 468 __reserved_bits |= X86_CR4_PKE; \
|
D | cpuid.c | 268 kvm_read_cr4_bits(vcpu, X86_CR4_PKE)); in __kvm_update_cpuid_runtime()
|
D | x86.c | 1004 kvm_read_cr4_bits(vcpu, X86_CR4_PKE))) in kvm_load_guest_xsave_state() 1018 kvm_read_cr4_bits(vcpu, X86_CR4_PKE))) { in kvm_load_host_xsave_state()
|
/linux-6.1.9/arch/x86/kernel/ |
D | sev-shared.c | 414 if (native_read_cr4() & X86_CR4_PKE) in snp_cpuid_postprocess()
|
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 46 #define X86_CR4_PKE (1ul << 22) macro
|
/linux-6.1.9/arch/x86/include/asm/ |
D | kvm_host.h | 123 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
|
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | common.c | 545 cr4_set_bits(X86_CR4_PKE); in setup_pku()
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | svm.c | 1839 cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in svm_set_cr4() 1845 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in svm_set_cr4()
|
/linux-6.1.9/arch/x86/kvm/vmx/ |
D | vmx.c | 3342 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4() 3348 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in vmx_set_cr4() 7531 cr4_fixed1_update(X86_CR4_PKE, ecx, feature_bit(PKU)); in nested_vmx_cr_fixed1_bits_update()
|
/linux-6.1.9/arch/x86/kvm/mmu/ |
D | mmu.c | 189 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, pke, X86_CR4_PKE); 5114 .cr4 = cr4 & ~X86_CR4_PKE, in kvm_init_shadow_npt_mmu()
|