Home
last modified time | relevance | path

Searched refs:X86_CR4_PKE (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dset_sregs_test.c71 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 Dstate_test.c212 set_cr4(get_cr4() | X86_CR4_PKE); in guest_code()
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h136 #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) macro
/openbmc/linux/arch/x86/kvm/
H A Dmmu.h40 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE)
H A Dx86.h523 __reserved_bits |= X86_CR4_PKE; \
H A Dcpuid.c305 kvm_is_cr4_bit_set(vcpu, X86_CR4_PKE)); in __kvm_update_cpuid_runtime()
H A Dx86.c1036 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 Dprocess_64.c141 if (cr4 & X86_CR4_PKE) in __show_regs()
H A Dsev-shared.c452 if (native_read_cr4() & X86_CR4_PKE) in snp_cpuid_postprocess()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h49 #define X86_CR4_PKE (1ul << 22) macro
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h128 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcommon.c533 cr4_set_bits(X86_CR4_PKE); in setup_pku()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c3494 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 Dsvm.c1951 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 Dmmu.c212 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, pke, X86_CR4_PKE);
5285 .cr4 = cr4 & ~X86_CR4_PKE, in kvm_init_shadow_npt_mmu()