Searched refs:X86_FEATURE_SMAP (Results 1 – 5 of 5) sorted by relevance
/arch/x86/include/asm/ |
D | smap.h | 36 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)
|
D | cpufeature.h | 227 #define X86_FEATURE_SMAP ( 9*32+20) /* Supervisor Mode Access Prevention */ macro
|
/arch/x86/kvm/ |
D | cpuid.h | 56 return best && (best->ebx & bit(X86_FEATURE_SMAP)); in guest_cpuid_has_smap()
|
/arch/x86/kernel/cpu/ |
D | common.c | 287 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/ |
D | fault.c | 1032 if (!static_cpu_has(X86_FEATURE_SMAP)) in smap_violation()
|