Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/include/uapi/asm/
Dprocessor-flags.h132 #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) macro
/Linux-v5.4/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h35 #define X86_CR4_PKE (1ul << 22) macro
/Linux-v5.4/arch/x86/kvm/
Dcpuid.c99 if (kvm_read_cr4_bits(vcpu, X86_CR4_PKE)) in kvm_update_cpuid()
Dx86.c905 if (!guest_cpuid_has(vcpu, X86_FEATURE_PKU) && (cr4 & X86_CR4_PKE)) in kvm_valid_cr4()
921 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE; in kvm_set_cr4()
951 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in kvm_set_cr4()
8811 (X86_CR4_OSXSAVE | X86_CR4_PKE)); in __set_sregs()
Dmmu.c4845 if (!kvm_read_cr4_bits(vcpu, X86_CR4_PKE) || !is_long_mode(vcpu)) { in update_pkru_bitmask()
4959 ext.cr4_pke = !!kvm_read_cr4_bits(vcpu, X86_CR4_PKE); in kvm_calc_mmu_role_ext()
/Linux-v5.4/arch/x86/kernel/cpu/
Dcommon.c458 cr4_set_bits(X86_CR4_PKE); in setup_pku()
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h93 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c3092 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()
6545 kvm_read_cr4_bits(vcpu, X86_CR4_PKE) && in vmx_vcpu_run()
6643 kvm_read_cr4_bits(vcpu, X86_CR4_PKE)) { in vmx_vcpu_run()
6997 cr4_fixed1_update(X86_CR4_PKE, ecx, bit(X86_FEATURE_PKU)); in nested_vmx_cr_fixed1_bits_update()