Searched refs:X86_CR4_PKE (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | set_sregs_test.c | 71 cr4 |= X86_CR4_PKE; in calc_supported_cr4_feature_bits() 115 TEST_INVALID_CR_BIT(vcpu, cr4, sregs, X86_CR4_PKE); in main()
|
H A D | state_test.c | 212 set_cr4(get_cr4() | X86_CR4_PKE); in guest_code()
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | processor-flags.h | 136 #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) macro
|
/openbmc/linux/arch/x86/kvm/ |
H A D | mmu.h | 40 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE)
|
H A D | x86.h | 523 __reserved_bits |= X86_CR4_PKE; \
|
H A D | cpuid.c | 305 kvm_is_cr4_bit_set(vcpu, X86_CR4_PKE)); in __kvm_update_cpuid_runtime()
|
H A D | x86.c | 1036 kvm_is_cr4_bit_set(vcpu, X86_CR4_PKE))) in kvm_load_guest_xsave_state() 1048 kvm_is_cr4_bit_set(vcpu, X86_CR4_PKE))) { in kvm_load_host_xsave_state()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | process_64.c | 141 if (cr4 & X86_CR4_PKE) in __show_regs()
|
H A D | sev-shared.c | 452 if (native_read_cr4() & X86_CR4_PKE) in snp_cpuid_postprocess()
|
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 49 #define X86_CR4_PKE (1ul << 22) macro
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 128 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | common.c | 533 cr4_set_bits(X86_CR4_PKE); in setup_pku()
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | vmx.c | 3494 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4() 3500 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in vmx_set_cr4() 7697 cr4_fixed1_update(X86_CR4_PKE, ecx, feature_bit(PKU)); in nested_vmx_cr_fixed1_bits_update()
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 1951 cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in svm_set_cr4() 1957 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in svm_set_cr4()
|
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | mmu.c | 212 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, pke, X86_CR4_PKE); 5285 .cr4 = cr4 & ~X86_CR4_PKE, in kvm_init_shadow_npt_mmu()
|