Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dset_sregs_test.c72 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/
Dprocessor-flags.h132 #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) macro
/linux-6.1.9/arch/x86/kvm/
Dmmu.h40 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE)
Dx86.h468 __reserved_bits |= X86_CR4_PKE; \
Dcpuid.c268 kvm_read_cr4_bits(vcpu, X86_CR4_PKE)); in __kvm_update_cpuid_runtime()
Dx86.c1004 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/
Dsev-shared.c414 if (native_read_cr4() & X86_CR4_PKE) in snp_cpuid_postprocess()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h46 #define X86_CR4_PKE (1ul << 22) macro
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h123 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
/linux-6.1.9/arch/x86/kernel/cpu/
Dcommon.c545 cr4_set_bits(X86_CR4_PKE); in setup_pku()
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c1839 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/
Dvmx.c3342 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/
Dmmu.c189 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, pke, X86_CR4_PKE);
5114 .cr4 = cr4 & ~X86_CR4_PKE, in kvm_init_shadow_npt_mmu()