Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/kernel/
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()
398 if (!boot_cpu_has(X86_FEATURE_PTI)) in free_ldt_pgtables()
Ddumpstack.c411 (boot_cpu_has(X86_FEATURE_PTI) ? " PTI" : " NOPTI") : ""); in __die_header()
/Linux-v6.1/arch/x86/entry/
Dcalling.h168 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
179 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
219 ALTERNATIVE "jmp .Ldone_\@", "", X86_FEATURE_PTI
237 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
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
/Linux-v6.1/arch/x86/include/asm/
Dsync_core.h99 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
Dpgtable-3level_types.h23 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
Ddisabled-features.h50 # define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31))
Dcpufeatures.h205 #define X86_FEATURE_PTI ( 7*32+11) /* Kernel Page Table Isolation enabled */ macro
Dpgtable.h698 if (!static_cpu_has(X86_FEATURE_PTI)) in pti_set_user_pgtbl()
1248 if (!static_cpu_has(X86_FEATURE_PTI)) in clone_pgd_range()
/Linux-v6.1/arch/x86/mm/
Dpti.c121 setup_force_cpu_cap(X86_FEATURE_PTI); in pti_check_boottime_disable()
610 if (!boot_cpu_has(X86_FEATURE_PTI)) in pti_init()
656 if (!boot_cpu_has(X86_FEATURE_PTI)) in pti_finalize()
Dtlb.c193 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other()
270 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid()
1105 if (!static_cpu_has(X86_FEATURE_PTI)) in flush_tlb_one_kernel()
1126 if (!static_cpu_has(X86_FEATURE_PTI)) in native_flush_tlb_one_user()
Ddump_pagetables.c412 if (user && boot_cpu_has(X86_FEATURE_PTI)) in ptdump_walk_pgd_level_debugfs()
425 !boot_cpu_has(X86_FEATURE_PTI)) in ptdump_walk_user_pgd_level_checkwx()
Dpgtable.c184 #define PREALLOCATED_USER_PMDS (boot_cpu_has(X86_FEATURE_PTI) ? \
286 if (!boot_cpu_has(X86_FEATURE_PTI)) in pgd_mop_up_pmds()
Dinit.c251 if (cpu_feature_enabled(X86_FEATURE_PTI)) in probe_page_size_mask()
944 if (IS_ENABLED(CONFIG_X86_64) && cpu_feature_enabled(X86_FEATURE_PTI)) in free_kernel_image_pages()
/Linux-v6.1/tools/arch/x86/include/asm/
Ddisabled-features.h50 # define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31))
Dcpufeatures.h205 #define X86_FEATURE_PTI ( 7*32+11) /* Kernel Page Table Isolation enabled */ macro
/Linux-v6.1/arch/x86/events/intel/
Dbts.c593 if (boot_cpu_has(X86_FEATURE_PTI)) { in bts_init()
/Linux-v6.1/Documentation/x86/
Dcpuinfo.rst74 Isolation is purely software feature and its feature flag X86_FEATURE_PTI is
/Linux-v6.1/arch/x86/kernel/cpu/
Dbugs.c756 !boot_cpu_has(X86_FEATURE_PTI)) in spectre_v1_select_mitigation()
2395 if (boot_cpu_has(X86_FEATURE_PTI)) in cpu_show_common()