Searched refs:X86_FEATURE_OSPKE (Results 1 – 12 of 12) sorted by relevance
12 #define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? 16 : 1)19 return boot_cpu_has(X86_FEATURE_OSPKE); in arch_pkeys_enabled()29 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in execute_only_pkey()40 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in arch_override_mprotect_pkey()
50 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
195 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()240 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
343 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
131 if (boot_cpu_has(X86_FEATURE_OSPKE)) in read_pkru()140 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in write_pkru()
315 if (boot_cpu_has(X86_FEATURE_OSPKE)) in copy_init_fpstate_to_fpregs()
953 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()
597 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in switch_fpu_finish()
140 if (boot_cpu_has(X86_FEATURE_OSPKE)) in __show_regs()
970 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
398 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in do_cpuid_7_mask()
468 set_cpu_cap(c, X86_FEATURE_OSPKE); in setup_pku()