Searched refs:X86_CR4_PKE (Results 1 – 7 of 7) sorted by relevance
132 #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) macro
99 if (kvm_read_cr4_bits(vcpu, X86_CR4_PKE)) in kvm_update_cpuid()
906 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()
4845 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()
458 cr4_set_bits(X86_CR4_PKE); in setup_pku()
93 | X86_CR4_SMAP | X86_CR4_PKE | X86_CR4_UMIP))
3096 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()