Home
last modified time | relevance | path

Searched refs:X86_FEATURE_PKU (Results 1 – 9 of 9) sorted by relevance

/arch/x86/include/asm/
Ddisabled-features.h49 # define DISABLE_PKU (1<<(X86_FEATURE_PKU & 31))
Dcpufeatures.h342 #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */ macro
/arch/x86/kernel/cpu/
Dcpuid-deps.c28 { X86_FEATURE_PKU, X86_FEATURE_XSAVE },
Dcommon.c454 if (!cpu_feature_enabled(X86_FEATURE_PKU)) in setup_pku()
457 if (!cpu_has(c, X86_FEATURE_PKU)) in setup_pku()
/arch/x86/kvm/vmx/
Dcapabilities.h151 return boot_cpu_has(X86_FEATURE_PKU); in vmx_pku_supported()
Dvmx.c7067 cr4_fixed1_update(X86_CR4_PKE, ecx, bit(X86_FEATURE_PKU)); in nested_vmx_cr_fixed1_bits_update()
/arch/x86/kernel/fpu/
Dxstate.c53 X86_FEATURE_PKU,
/arch/x86/kvm/
Dcpuid.c97 if (boot_cpu_has(X86_FEATURE_PKU) && best->function == 0x7) { in kvm_update_cpuid()
Dx86.c837 if (static_cpu_has(X86_FEATURE_PKU) && in kvm_load_guest_xcr0()
847 if (static_cpu_has(X86_FEATURE_PKU) && in kvm_put_guest_xcr0()
930 if (!cpu_has(c, X86_FEATURE_PKU)) in kvm_host_cr4_reserved_bits()
960 if (!guest_cpuid_has(vcpu, X86_FEATURE_PKU) && (cr4 & X86_CR4_PKE)) in kvm_valid_cr4()