Searched refs:cpu_feature_enabled (Results 1 – 25 of 27) sorted by relevance
12
109 if (cpu_feature_enabled(X86_FEATURE_OSPKE)) { in init_new_context()154 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in arch_dup_pkeys()
36 #define pgtable_l5_enabled() cpu_feature_enabled(X86_FEATURE_LA57)
135 #define cpu_feature_enabled(bit) \ macro
733 if (cpu_feature_enabled(X86_FEATURE_K6_MTRR)) { in mtrr_bp_init()741 if (cpu_feature_enabled(X86_FEATURE_CENTAUR_MCR)) { in mtrr_bp_init()748 if (cpu_feature_enabled(X86_FEATURE_CYRIX_ARR)) { in mtrr_bp_init()
43 if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) in __static_call_transform()
110 if (!cpu_feature_enabled(X86_FEATURE_TSC_ADJUST) || tsc_clocksource_reliable) in start_sync_check_timer()
370 if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) in create_trampoline()
563 if (cpu_feature_enabled(X86_FEATURE_RETPOLINE)) in patch_retpoline()631 if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) in patch_return()
817 if (!cpu_feature_enabled(X86_FEATURE_MWAIT)) in mwait_pc10_supported()
104 if (cpu_feature_enabled(X86_FEATURE_GBPAGES) && in intel_svm_check()111 if (cpu_feature_enabled(X86_FEATURE_LA57) && in intel_svm_check()597 (cpu_feature_enabled(X86_FEATURE_LA57) ? in intel_svm_bind_mm()624 (cpu_feature_enabled(X86_FEATURE_LA57) ? in intel_svm_bind_mm()
815 if (!cpu_feature_enabled(X86_FEATURE_LA57) || in intel_pasid_setup_nested()
235 if (cpu_feature_enabled(X86_FEATURE_PTI)) in probe_page_size_mask()912 if (IS_ENABLED(CONFIG_X86_64) && cpu_feature_enabled(X86_FEATURE_PTI)) in free_kernel_image_pages()
518 if (cpu_feature_enabled(X86_FEATURE_PCID)) in pti_kernel_image_global_ok()
258 if (!cpu_feature_enabled(X86_FEATURE_PCID)) in invalidate_user_asid()
1251 if (unlikely(cpu_feature_enabled(X86_FEATURE_SMAP) && in do_user_addr_fault()
266 if (cpu_feature_enabled(X86_FEATURE_HYPERVISOR)) in i10nm_init()
1179 if (cpu_feature_enabled(X86_FEATURE_HYPERVISOR)) in mce_amd_init()
659 if (cpu_feature_enabled(X86_FEATURE_HYPERVISOR)) in skx_init()
1557 if (cpu_feature_enabled(X86_FEATURE_HYPERVISOR)) in pnd2_init()
565 if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) in switch_fpu_finish()
332 if (!cpu_feature_enabled(X86_FEATURE_UMIP)) in setup_umip()473 if (!cpu_feature_enabled(X86_FEATURE_PKU)) in setup_pku()2062 if (IS_ENABLED(CONFIG_X86_64) || cpu_feature_enabled(X86_FEATURE_VME) || in cpu_init()
77 if (force || !cpu_feature_enabled(X86_FEATURE_KERNEL_IBRS)) in write_spec_ctrl_current()
390 if (cpu_feature_enabled(X86_FEATURE_RETPOLINE_LFENCE)) { in emit_indirect_jump()393 } else if (cpu_feature_enabled(X86_FEATURE_RETPOLINE)) { in emit_indirect_jump()407 if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) { in emit_return()
1451 if (cpu_feature_enabled(X86_FEATURE_AVX512F)) in proc_pid_arch_status()
1530 if (cpu_feature_enabled(X86_FEATURE_KERNEL_IBRS) && in intel_idle_init_cstates_icpu()