Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dsmap.h36 altinstruction_entry 661b, 662b, X86_FEATURE_SMAP, 3, 3 ; \
45 altinstruction_entry 661b, 662b, X86_FEATURE_SMAP, 3, 3 ; \
64 alternative(ASM_NOP3, __stringify(__ASM_CLAC), X86_FEATURE_SMAP); in clac()
70 alternative(ASM_NOP3, __stringify(__ASM_STAC), X86_FEATURE_SMAP); in stac()
75 ALTERNATIVE(ASM_NOP3, __stringify(__ASM_CLAC), X86_FEATURE_SMAP)
77 ALTERNATIVE(ASM_NOP3, __stringify(__ASM_STAC), X86_FEATURE_SMAP)
Dcpufeature.h227 #define X86_FEATURE_SMAP ( 9*32+20) /* Supervisor Mode Access Prevention */ macro
/arch/x86/kvm/
Dcpuid.h56 return best && (best->ebx & bit(X86_FEATURE_SMAP)); in guest_cpuid_has_smap()
/arch/x86/kernel/cpu/
Dcommon.c287 setup_clear_cpu_cap(X86_FEATURE_SMAP); in setup_disable_smap()
299 if (cpu_has(c, X86_FEATURE_SMAP)) { in setup_smap()
/arch/x86/mm/
Dfault.c1032 if (!static_cpu_has(X86_FEATURE_SMAP)) in smap_violation()