Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/vm/
Dpkey-x86.h84 #define X86_FEATURE_PKU (1<<3) /* Protection Keys for Userspace */ macro
96 if (!(ecx & X86_FEATURE_PKU)) { in cpu_has_pkeys()
/linux-5.19.10/tools/arch/x86/include/asm/
Ddisabled-features.h37 # define DISABLE_PKU (1<<(X86_FEATURE_PKU & 31))
Dcpufeatures.h363 #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */ macro
/linux-5.19.10/arch/x86/include/asm/
Ddisabled-features.h37 # define DISABLE_PKU (1<<(X86_FEATURE_PKU & 31))
Dcpufeatures.h363 #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */ macro
/linux-5.19.10/arch/x86/kernel/cpu/
Dcpuid-deps.c28 { X86_FEATURE_PKU, X86_FEATURE_XSAVE },
Dcommon.c533 if (pku_disabled || !cpu_feature_enabled(X86_FEATURE_PKU)) in setup_pku()
/linux-5.19.10/arch/x86/kvm/
Dx86.h436 if (!__cpu_has(__c, X86_FEATURE_PKU)) \
Dcpuid.c234 if (best && boot_cpu_has(X86_FEATURE_PKU) && best->function == 0x7) in __kvm_update_cpuid_runtime()
585 kvm_cpu_cap_clear(X86_FEATURE_PKU); in kvm_set_cpu_caps()
Dx86.c991 if (static_cpu_has(X86_FEATURE_PKU) && in kvm_load_guest_xsave_state()
1006 if (static_cpu_has(X86_FEATURE_PKU) && in kvm_load_host_xsave_state()
/linux-5.19.10/arch/x86/kernel/fpu/
Dxstate.c74 [XFEATURE_PKRU] = X86_FEATURE_PKU,