Searched refs:X86_FEATURE_OSPKE (Results 1 – 17 of 17) 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()
156 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()205 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
38 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
391 #define X86_FEATURE_OSPKE (16*32+ 4) /* "ospke" OS Protection Keys Enable */ macro
71 #define X86_FEATURE_OSPKE (1<<4) /* OS Protection Keys Enable */ macro86 if (!(ecx & X86_FEATURE_OSPKE)) { in cpu_has_pkeys()
390 #define X86_FEATURE_OSPKE (16*32+ 4) /* "ospke" OS Protection Keys Enable */ macro
177 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in create_init_pkru_value()
860 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
212 GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSPKE)); in guest_code()
71 if (unlikely(!cpu_feature_enabled(X86_FEATURE_OSPKE))) in update_pkru_in_sigframe()
77 [XFEATURE_PKRU] = X86_FEATURE_OSPKE,1031 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()
377 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in x86_pkru_load()
291 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()
526 setup_force_cpu_cap(X86_FEATURE_OSPKE); in setup_pku()528 } else if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) { in setup_pku()
166 #define X86_FEATURE_OSPKE KVM_X86_CPU_FEATURE(0x7, 0, ECX, 4) macro