Home
last modified time | relevance | path

Searched refs:X86_FEATURE_SMAP (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/arch/x86/include/asm/
Dsmap.h23 ALTERNATIVE "", __ASM_CLAC, X86_FEATURE_SMAP
26 ALTERNATIVE "", __ASM_STAC, X86_FEATURE_SMAP
33 alternative("", __ASM_CLAC, X86_FEATURE_SMAP); in clac()
39 alternative("", __ASM_STAC, X86_FEATURE_SMAP); in stac()
48 X86_FEATURE_SMAP) in smap_save()
58 X86_FEATURE_SMAP) in smap_restore()
64 ALTERNATIVE("", __ASM_CLAC, X86_FEATURE_SMAP)
66 ALTERNATIVE("", __ASM_STAC, X86_FEATURE_SMAP)
Dentry-common.h27 if (boot_cpu_has(X86_FEATURE_SMAP) || in arch_enter_from_user_mode()
Dcpufeatures.h264 #define X86_FEATURE_SMAP ( 9*32+20) /* Supervisor Mode Access Prevention */ macro
/linux-6.1.9/tools/objtool/arch/x86/
Dspecial.c8 #define X86_FEATURE_SMAP (9 * 32 + 20) macro
13 case X86_FEATURE_SMAP: in arch_handle_alternative()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dset_sregs_test.c69 if (kvm_cpu_has(X86_FEATURE_SMAP)) in calc_supported_cr4_feature_bits()
/linux-6.1.9/tools/arch/x86/include/asm/
Dcpufeatures.h264 #define X86_FEATURE_SMAP ( 9*32+20) /* Supervisor Mode Access Prevention */ macro
/linux-6.1.9/arch/x86/kernel/kprobes/
Dopt.c83 if (!boot_cpu_has(X86_FEATURE_SMAP)) in synthesize_clac()
/linux-6.1.9/arch/x86/kvm/
Dx86.h463 if (!__cpu_has(__c, X86_FEATURE_SMAP)) \
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h104 #define X86_FEATURE_SMAP KVM_X86_CPU_FEATURE(0x7, 0, EBX, 20) macro
/linux-6.1.9/arch/x86/mm/
Dfault.c1297 if (unlikely(cpu_feature_enabled(X86_FEATURE_SMAP) && in do_user_addr_fault()
/linux-6.1.9/arch/x86/kernel/cpu/
Dbugs.c710 if (!boot_cpu_has(X86_FEATURE_SMAP)) in smap_works_speculatively()
Dcommon.c386 if (cpu_has(c, X86_FEATURE_SMAP)) in setup_smap()