Searched refs:X86_FEATURE_OSPKE (Results 1 – 15 of 15) 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()
109 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()154 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
44 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
355 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
132 if (boot_cpu_has(X86_FEATURE_OSPKE)) in read_pkru()141 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in write_pkru()
98 #define X86_FEATURE_OSPKE (1<<4) /* OS Protection Keys Enable */ macro115 if (!(ecx & X86_FEATURE_OSPKE)) { in cpu_has_pkeys()
351 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
352 if (boot_cpu_has(X86_FEATURE_OSPKE)) in copy_init_fpstate_to_fpregs()
1040 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()
568 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in switch_fpu_finish()
124 cpuid_entry_change(best, X86_FEATURE_OSPKE, in kvm_update_cpuid_runtime()414 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in kvm_set_cpu_caps()
139 if (boot_cpu_has(X86_FEATURE_OSPKE)) in __show_regs()
884 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
490 set_cpu_cap(c, X86_FEATURE_OSPKE); in setup_pku()