Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/arch/x86/include/asm/
Ddisabled-features.h37 # define DISABLE_PKU (1<<(X86_FEATURE_PKU & 31))
Dcpufeatures.h367 #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */ macro
/Linux-v6.1/tools/arch/x86/include/asm/
Ddisabled-features.h37 # define DISABLE_PKU (1<<(X86_FEATURE_PKU & 31))
Dcpufeatures.h364 #define X86_FEATURE_PKU (16*32+ 3) /* Protection Keys for Userspace */ macro
/Linux-v6.1/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-v6.1/tools/testing/selftests/kvm/x86_64/
Dset_sregs_test.c71 if (kvm_cpu_has(X86_FEATURE_PKU)) in calc_supported_cr4_feature_bits()
/Linux-v6.1/arch/x86/kvm/
Dx86.h467 if (!__cpu_has(__c, X86_FEATURE_PKU)) \
Dcpuid.c266 if (best && boot_cpu_has(X86_FEATURE_PKU) && best->function == 0x7) in __kvm_update_cpuid_runtime()
638 kvm_cpu_cap_clear(X86_FEATURE_PKU); in kvm_set_cpu_caps()
Dx86.c1001 if (static_cpu_has(X86_FEATURE_PKU) && in kvm_load_guest_xsave_state()
1016 if (static_cpu_has(X86_FEATURE_PKU) && in kvm_load_host_xsave_state()
/Linux-v6.1/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h109 #define X86_FEATURE_PKU KVM_X86_CPU_FEATURE(0x7, 0, ECX, 3) macro
/Linux-v6.1/arch/x86/kernel/fpu/
Dxstate.c74 [XFEATURE_PKRU] = X86_FEATURE_PKU,