Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dpkeys.h7 #define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? 16 : 1)
14 return boot_cpu_has(X86_FEATURE_OSPKE); in arch_pkeys_enabled()
24 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in execute_only_pkey()
35 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in arch_override_mprotect_pkey()
Ddisabled-features.h50 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
Dmmu_context.h195 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()
240 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
Dcpufeatures.h335 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
Dpgtable.h131 if (boot_cpu_has(X86_FEATURE_OSPKE)) in read_pkru()
140 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in write_pkru()
/arch/x86/kernel/fpu/
Dcore.c308 if (boot_cpu_has(X86_FEATURE_OSPKE)) in copy_init_fpstate_to_fpregs()
Dxstate.c915 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()
/arch/x86/include/asm/fpu/
Dinternal.h603 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in switch_fpu_finish()
/arch/x86/kernel/
Dprocess_64.c140 if (boot_cpu_has(X86_FEATURE_OSPKE)) in __show_regs()
/arch/x86/mm/
Dfault.c948 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
/arch/x86/kvm/
Dcpuid.c396 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in do_cpuid_7_mask()