Home
last modified time | relevance | path

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

/arch/x86/include/uapi/asm/
Dprocessor-flags.h132 #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) macro
/arch/x86/kvm/
Dcpuid.c99 if (kvm_read_cr4_bits(vcpu, X86_CR4_PKE)) in kvm_update_cpuid()
Dx86.c906 if (!guest_cpuid_has(vcpu, X86_FEATURE_PKU) && (cr4 & X86_CR4_PKE)) in kvm_valid_cr4()
922 X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE; in kvm_set_cr4()
952 if ((cr4 ^ old_cr4) & (X86_CR4_OSXSAVE | X86_CR4_PKE)) in kvm_set_cr4()
8820 (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()
/arch/x86/kernel/cpu/
Dcommon.c458 cr4_set_bits(X86_CR4_PKE); in setup_pku()
/arch/x86/include/asm/
Dkvm_host.h93 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
/arch/x86/kvm/vmx/
Dvmx.c3096 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()
6549 kvm_read_cr4_bits(vcpu, X86_CR4_PKE) && in vmx_vcpu_run()
6647 kvm_read_cr4_bits(vcpu, X86_CR4_PKE)) { in vmx_vcpu_run()
7001 cr4_fixed1_update(X86_CR4_PKE, ecx, bit(X86_FEATURE_PKU)); in nested_vmx_cr_fixed1_bits_update()