Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dpkeys.h12 #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()
H A Dmmu_context.h109 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()
154 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
H A Ddisabled-features.h44 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
H A Dcpufeatures.h355 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
H A Dpgtable.h132 if (boot_cpu_has(X86_FEATURE_OSPKE)) in read_pkru()
141 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in write_pkru()
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H 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()
/OK3568_Linux_fs/kernel/tools/arch/x86/include/asm/
H A Ddisabled-features.h44 # define DISABLE_OSPKE (1<<(X86_FEATURE_OSPKE & 31))
H A Dcpufeatures.h351 #define X86_FEATURE_OSPKE (16*32+ 4) /* OS Protection Keys Enable */ macro
/OK3568_Linux_fs/kernel/arch/x86/kernel/fpu/
H A Dcore.c352 if (boot_cpu_has(X86_FEATURE_OSPKE)) in copy_init_fpstate_to_fpregs()
H A Dxstate.c1040 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in arch_set_user_pkey_access()
/OK3568_Linux_fs/kernel/arch/x86/include/asm/fpu/
H A Dinternal.h568 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in switch_fpu_finish()
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dcpuid.c124 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()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dprocess_64.c139 if (boot_cpu_has(X86_FEATURE_OSPKE)) in __show_regs()
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dfault.c884 if (!boot_cpu_has(X86_FEATURE_OSPKE)) in bad_area_access_from_pkeys()
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/
H A Dcommon.c490 set_cpu_cap(c, X86_FEATURE_OSPKE); in setup_pku()