Searched refs:X86_FEATURE_PKU (Results 1 – 11 of 11) sorted by relevance
159 #define X86_FEATURE_PKU (1<<3) /* Protection Keys for Userspace */ macro173 if (!(ecx & X86_FEATURE_PKU)) { in cpu_has_pku()
43 # define DISABLE_PKU (1<<(X86_FEATURE_PKU & 31))
321 #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */ macro
27 { X86_FEATURE_PKU, X86_FEATURE_XSAVE },
376 if (!cpu_feature_enabled(X86_FEATURE_PKU)) in setup_pku()379 if (!cpu_has(c, X86_FEATURE_PKU)) in setup_pku()
50 X86_FEATURE_PKU,
103 if (boot_cpu_has(X86_FEATURE_PKU) && best->function == 0x7) { in kvm_update_cpuid()
10709 if (static_cpu_has(X86_FEATURE_PKU) && in vmx_vcpu_run()10914 if (static_cpu_has(X86_FEATURE_PKU) && in vmx_vcpu_run()11252 cr4_fixed1_update(X86_CR4_PKE, ecx, bit(X86_FEATURE_PKU)); in nested_vmx_cr_fixed1_bits_update()
808 if (!guest_cpuid_has(vcpu, X86_FEATURE_PKU) && (cr4 & X86_CR4_PKE)) in kvm_set_cr4()