Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
398 if (!boot_cpu_has(X86_FEATURE_PTI)) in free_ldt_pgtables()
H A Ddumpstack.c411 (boot_cpu_has(X86_FEATURE_PTI) ? " PTI" : " NOPTI") : ""); in __die_header()
/OK3568_Linux_fs/kernel/arch/x86/entry/
H A Dcalling.h194 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
205 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
245 ALTERNATIVE "jmp .Ldone_\@", "", X86_FEATURE_PTI
263 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
H A Dentry_32.S135 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
145 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
166 ALTERNATIVE "jmp .Lend_\@", "", X86_FEATURE_PTI
374 ALTERNATIVE "jmp .Lswitched_\@", "", X86_FEATURE_PTI
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dpti.c121 setup_force_cpu_cap(X86_FEATURE_PTI); in pti_check_boottime_disable()
620 if (!boot_cpu_has(X86_FEATURE_PTI)) in pti_init()
666 if (!boot_cpu_has(X86_FEATURE_PTI)) in pti_finalize()
H A Dtlb.c184 if (!static_cpu_has(X86_FEATURE_PTI)) { in clear_asid_other()
261 if (!static_cpu_has(X86_FEATURE_PTI)) in invalidate_user_asid()
1004 if (!static_cpu_has(X86_FEATURE_PTI)) in flush_tlb_one_kernel()
1025 if (!static_cpu_has(X86_FEATURE_PTI)) in native_flush_tlb_one_user()
H A 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()
H A 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()
H A Dinit.c251 if (cpu_feature_enabled(X86_FEATURE_PTI)) in probe_page_size_mask()
928 if (IS_ENABLED(CONFIG_X86_64) && cpu_feature_enabled(X86_FEATURE_PTI)) in free_kernel_image_pages()
/OK3568_Linux_fs/kernel/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.h23 #define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
H A Ddisabled-features.h56 # define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31))
H A Dcpufeatures.h205 #define X86_FEATURE_PTI ( 7*32+11) /* Kernel Page Table Isolation enabled */ macro
H A Dpgtable.h728 if (!static_cpu_has(X86_FEATURE_PTI)) in pti_set_user_pgtbl()
1258 if (!static_cpu_has(X86_FEATURE_PTI)) in clone_pgd_range()
/OK3568_Linux_fs/kernel/tools/arch/x86/include/asm/
H A Ddisabled-features.h56 # define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31))
H A Dcpufeatures.h205 #define X86_FEATURE_PTI ( 7*32+11) /* Kernel Page Table Isolation enabled */ macro
/OK3568_Linux_fs/kernel/arch/x86/events/intel/
H A Dbts.c587 if (boot_cpu_has(X86_FEATURE_PTI)) { in bts_init()
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/
H A Dbugs.c719 !boot_cpu_has(X86_FEATURE_PTI)) in spectre_v1_select_mitigation()
2325 if (boot_cpu_has(X86_FEATURE_PTI)) in cpu_show_common()
/OK3568_Linux_fs/kernel/Documentation/x86/
H A Dcpuinfo.rst74 Isolation is purely software feature and its feature flag X86_FEATURE_PTI is