Searched refs:X86_FEATURE_OSPKE (Results 1 – 16 of 16) sorted by relevance
10 #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()
37 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()
150 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()199 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
38 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
384 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
67 #define X86_FEATURE_OSPKE (1<<4) /* OS Protection Keys Enable */ macro82 if (!(ecx & X86_FEATURE_OSPKE)) { in cpu_has_pkeys()
380 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
177 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in create_init_pkru_value()
889 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
141 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) in __show_regs()353 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in x86_pkru_load()
213 GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSPKE)); in guest_code()
74 [XFEATURE_PKRU] = X86_FEATURE_OSPKE,1010 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()
283 cpuid_entry_change(best, X86_FEATURE_OSPKE, in __kvm_update_cpuid_runtime()647 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in kvm_set_cpu_caps()
527 setup_force_cpu_cap(X86_FEATURE_OSPKE); in setup_pku()529 } else if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) { in setup_pku()
156 #define X86_FEATURE_OSPKE KVM_X86_CPU_FEATURE(0x7, 0, ECX, 4) macro