Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/kernel/
H A Dldt.c64 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
200 if (boot_cpu_has(X86_FEATURE_PTI)) in do_sanity_check()
208 if (boot_cpu_has(X86_FEATURE_PTI)) in do_sanity_check()
243 if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt) in map_ldt_struct_to_user()
268 if (boot_cpu_has(X86_FEATURE_PTI) && !mm->context.ldt) in map_ldt_struct_to_user()
295 if (!boot_cpu_has(X86_FEATURE_PTI)) in map_ldt_struct()
358 if (!boot_cpu_has(X86_FEATURE_PTI)) in unmap_ldt_struct()
400 if (!boot_cpu_has(X86_FEATURE_PTI)) in free_ldt_pgtables()
H A Ddumpstack.c408 (boot_cpu_has(X86_FEATURE_PTI) ? " PTI" : " NOPTI") : ""); in __die_header()
/linux-6.15/arch/x86/entry/
H A Dcalling.h175 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
218 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
224 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
232 ALTERNATIVE "jmp .Ldone_\@", "", X86_FEATURE_PTI
251 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
H A Dentry_32.S58 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
68 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
89 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
290 ALTERNATIVE "jmp .Lswitched_\@", "", X86_FEATURE_PTI
H A Dentry_64.S566 ALTERNATIVE "", "jmp .Lpti_restore_regs_and_return_to_usermode", X86_FEATURE_PTI
/linux-6.15/arch/x86/include/asm/
H A Dsync_core.h99 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
H A Dpgtable-3level_types.h30 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
H A Dpgalloc.h41 if (cpu_feature_enabled(X86_FEATURE_PTI)) in pgd_allocation_order()
H A Dcpufeatures.h195 #define X86_FEATURE_PTI ( 7*32+11) /* "pti" Kernel Page Table Isolation enabled */ macro
H A Dpgtable.h965 if (!static_cpu_has(X86_FEATURE_PTI)) in pti_set_user_pgtbl()
1541 if (!static_cpu_has(X86_FEATURE_PTI)) in clone_pgd_range()
/linux-6.15/arch/x86/mm/
H A Dpti.c100 setup_force_cpu_cap(X86_FEATURE_PTI); in pti_check_boottime_disable()
615 if (!boot_cpu_has(X86_FEATURE_PTI)) in pti_init()
668 if (!boot_cpu_has(X86_FEATURE_PTI)) in pti_finalize()
H A Dtlb.c198 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other()
509 if (cpu_feature_enabled(X86_FEATURE_PTI)) in broadcast_tlb_flush()
520 if (cpu_feature_enabled(X86_FEATURE_PTI)) in broadcast_tlb_flush()
551 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid()
1517 if (!static_cpu_has(X86_FEATURE_PTI)) in flush_tlb_one_kernel()
1541 if (!static_cpu_has(X86_FEATURE_PTI)) in native_flush_tlb_one_user()
H A Ddump_pagetables.c417 if (user && boot_cpu_has(X86_FEATURE_PTI)) in ptdump_walk_pgd_level_debugfs()
430 !boot_cpu_has(X86_FEATURE_PTI)) in ptdump_walk_user_pgd_level_checkwx()
H A Dpgtable.c148 #define PREALLOCATED_USER_PMDS (boot_cpu_has(X86_FEATURE_PTI) ? \
259 if (!boot_cpu_has(X86_FEATURE_PTI)) in pgd_mop_up_pmds()
H A Dinit.c253 if (cpu_feature_enabled(X86_FEATURE_PTI)) in probe_page_size_mask()
970 if (IS_ENABLED(CONFIG_X86_64) && cpu_feature_enabled(X86_FEATURE_PTI)) in free_kernel_image_pages()
/linux-6.15/tools/arch/x86/include/asm/
H A Dcpufeatures.h195 #define X86_FEATURE_PTI ( 7*32+11) /* "pti" Kernel Page Table Isolation enabled */ macro
/linux-6.15/arch/x86/events/intel/
H A Dbts.c605 if (boot_cpu_has(X86_FEATURE_PTI)) { in bts_init()
/linux-6.15/Documentation/arch/x86/
H A Dcpuinfo.rst124 Isolation is purely software feature and its feature flag X86_FEATURE_PTI is
/linux-6.15/arch/x86/kernel/cpu/
H A Dbugs.c959 !boot_cpu_has(X86_FEATURE_PTI)) in spectre_v1_select_mitigation()
3089 if (boot_cpu_has(X86_FEATURE_PTI)) in cpu_show_common()