Home
last modified time | relevance | path

Searched refs:X86_FEATURE_OSPKE (Results 1 – 17 of 17) sorted by relevance

/linux/arch/x86/include/asm/
H A Dpkeys.h10 #define arch_max_pkey() (cpu_feature_enabled(X86_FEATURE_OSPKE) ? 16 : 1)
17 return cpu_feature_enabled(X86_FEATURE_OSPKE); in arch_pkeys_enabled()
27 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in execute_only_pkey()
38 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_override_mprotect_pkey()
H A Dpkru.h37 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) in read_pkru()
44 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in write_pkru()
56 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in pkru_write_default()
H A Dmmu_context.h156 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()
205 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
H A Ddisabled-features.h38 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
H A Dcpufeatures.h391 #define X86_FEATURE_OSPKE (16*32+ 4) /* "ospke" OS Protection Keys Enable */ macro
/linux/tools/testing/selftests/mm/
H A Dpkey-x86.h71 #define X86_FEATURE_OSPKE (1<<4) /* OS Protection Keys Enable */ macro
86 if (!(ecx & X86_FEATURE_OSPKE)) { in cpu_has_pkeys()
/linux/tools/arch/x86/include/asm/
H A Ddisabled-features.h38 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
H A Dcpufeatures.h390 #define X86_FEATURE_OSPKE (16*32+ 4) /* "ospke" OS Protection Keys Enable */ macro
/linux/arch/x86/mm/
H A Dpkeys.c177 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in create_init_pkru_value()
H A Dfault.c860 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
/linux/tools/testing/selftests/kvm/x86_64/
H A Dstate_test.c212 GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSPKE)); in guest_code()
/linux/arch/x86/kernel/fpu/
H A Dsignal.c71 if (unlikely(!cpu_feature_enabled(X86_FEATURE_OSPKE))) in update_pkru_in_sigframe()
H A Dxstate.c77 [XFEATURE_PKRU] = X86_FEATURE_OSPKE,
1031 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()
/linux/arch/x86/kernel/
H A Dprocess_64.c377 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in x86_pkru_load()
/linux/arch/x86/kvm/
H A Dcpuid.c291 cpuid_entry_change(best, X86_FEATURE_OSPKE, in __kvm_update_cpuid_runtime()
678 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in kvm_set_cpu_caps()
/linux/arch/x86/kernel/cpu/
H A Dcommon.c526 setup_force_cpu_cap(X86_FEATURE_OSPKE); in setup_pku()
528 } else if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) { in setup_pku()
/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h166 #define X86_FEATURE_OSPKE KVM_X86_CPU_FEATURE(0x7, 0, ECX, 4) macro