Home
last modified time | relevance | path

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

/linux/arch/x86/include/asm/
A Dpkeys.h10 #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()
A Dpkru.h37 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()
A Dmmu_context.h111 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()
158 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
A Ddisabled-features.h44 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
A Dcpufeatures.h352 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
/linux/tools/testing/selftests/vm/
A Dpkey-x86.h98 #define X86_FEATURE_OSPKE (1<<4) /* OS Protection Keys Enable */ macro
115 if (!(ecx & X86_FEATURE_OSPKE)) { in cpu_has_pkeys()
/linux/tools/arch/x86/include/asm/
A Ddisabled-features.h44 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
A Dcpufeatures.h352 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
/linux/arch/x86/mm/
A Dpkeys.c174 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in create_init_pkru_value()
A Dfault.c884 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
/linux/arch/x86/kernel/
A Dprocess_64.c140 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) in __show_regs()
352 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in x86_pkru_load()
/linux/arch/x86/kvm/
A Dcpuid.c167 cpuid_entry_change(best, X86_FEATURE_OSPKE, in kvm_update_cpuid_runtime()
488 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in kvm_set_cpu_caps()
/linux/arch/x86/kernel/cpu/
A Dcommon.c486 setup_force_cpu_cap(X86_FEATURE_OSPKE); in setup_pku()
488 } else if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) { in setup_pku()
/linux/arch/x86/kernel/fpu/
A Dxstate.c1081 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()

Completed in 32 milliseconds