Searched refs:X86_CR4_PKE (Results 1 – 8 of 8) sorted by relevance
132 #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) macro
35 #define X86_CR4_PKE (1ul << 22) macro
99 if (kvm_read_cr4_bits(vcpu, X86_CR4_PKE)) in kvm_update_cpuid()
905 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()
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))
3092 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()