Home
last modified time | relevance | path

Searched refs:X86_FEATURE_PTI (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/arch/x86/include/asm/
Dpgtable-3level_types.h24 #define SHARED_KERNEL_PMD ((!static_cpu_has(X86_FEATURE_PTI) && \
27 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
Dtlbflush.h392 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid()
460 if (!static_cpu_has(X86_FEATURE_PTI)) in __native_flush_tlb_one_user()
514 if (!static_cpu_has(X86_FEATURE_PTI)) in __flush_tlb_one_kernel()
Dsync_core.h17 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
Ddisabled-features.h62 # define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31))
Dmmu_context.h123 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
Dcpufeatures.h203 #define X86_FEATURE_PTI ( 7*32+11) /* Kernel Page Table Isolation enabled */ macro
Dpgtable.h693 if (!static_cpu_has(X86_FEATURE_PTI)) in pti_set_user_pgtbl()
1301 if (!static_cpu_has(X86_FEATURE_PTI)) in clone_pgd_range()
/Linux-v5.4/arch/x86/kernel/
Dldt.c116 if (boot_cpu_has(X86_FEATURE_PTI)) in do_sanity_check()
124 if (boot_cpu_has(X86_FEATURE_PTI)) in do_sanity_check()
159 if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt) in map_ldt_struct_to_user()
184 if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt) in map_ldt_struct_to_user()
211 if (!boot_cpu_has(X86_FEATURE_PTI)) in map_ldt_struct()
274 if (!boot_cpu_has(X86_FEATURE_PTI)) in unmap_ldt_struct()
314 if (!boot_cpu_has(X86_FEATURE_PTI)) in free_ldt_pgtables()
Ddumpstack.c386 (boot_cpu_has(X86_FEATURE_PTI) ? " PTI" : " NOPTI") : ""); in __die()
/Linux-v5.4/arch/x86/entry/
Dcalling.h198 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
209 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
249 ALTERNATIVE "jmp .Ldone_\@", "", X86_FEATURE_PTI
267 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
Dentry_32.S162 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
172 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
193 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
381 ALTERNATIVE "jmp .Lswitched_\@", "", X86_FEATURE_PTI
/Linux-v5.4/arch/x86/mm/
Dpti.c122 setup_force_cpu_cap(X86_FEATURE_PTI); in pti_check_boottime_disable()
625 if (!boot_cpu_has(X86_FEATURE_PTI)) in pti_init()
671 if (!boot_cpu_has(X86_FEATURE_PTI)) in pti_finalize()
Dpgtable.c177 #define PREALLOCATED_USER_PMDS (boot_cpu_has(X86_FEATURE_PTI) ? \
279 if (!boot_cpu_has(X86_FEATURE_PTI)) in pgd_mop_up_pmds()
Ddump_pagetables.c577 if (user && boot_cpu_has(X86_FEATURE_PTI)) in ptdump_walk_pgd_level_debugfs()
590 !boot_cpu_has(X86_FEATURE_PTI)) in ptdump_walk_user_pgd_level_checkwx()
Dinit.c201 if (cpu_feature_enabled(X86_FEATURE_PTI)) in probe_page_size_mask()
856 if (IS_ENABLED(CONFIG_X86_64) && cpu_feature_enabled(X86_FEATURE_PTI)) in free_kernel_image_pages()
Dtlb.c55 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other()
/Linux-v5.4/tools/arch/x86/include/asm/
Ddisabled-features.h62 # define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31))
Dcpufeatures.h203 #define X86_FEATURE_PTI ( 7*32+11) /* Kernel Page Table Isolation enabled */ macro
/Linux-v5.4/arch/x86/kernel/cpu/
Dbugs.c437 !boot_cpu_has(X86_FEATURE_PTI)) in spectre_v1_select_mitigation()
1506 if (boot_cpu_has(X86_FEATURE_PTI)) in cpu_show_common()
/Linux-v5.4/arch/x86/events/intel/
Dbts.c579 if (boot_cpu_has(X86_FEATURE_PTI)) { in bts_init()