Searched refs:cpu_mitigations_off (Results 1 – 10 of 10) sorted by relevance
67 if (!no_nospec && !cpu_mitigations_off()) in setup_barrier_nospec()138 if (no_spectrev2 || cpu_mitigations_off()) in setup_spectre_v2()334 if (!no_stf_barrier && !cpu_mitigations_off()) in setup_stf_barrier()533 if (no_spectrev2 || cpu_mitigations_off()) { in setup_count_cache_flush()703 if (!cpu_mitigations_off() && !no_rfi_flush) in setup_rfi_flush()709 if (cpu_mitigations_off()) in setup_entry_flush()718 if (cpu_mitigations_off()) in setup_uaccess_flush()
248 if (!boot_cpu_has_bug(X86_BUG_MDS) || cpu_mitigations_off()) { in mds_select_mitigation()321 if (cpu_mitigations_off()) { in taa_select_mitigation()410 cpu_mitigations_off()) { in mmio_select_mitigation()504 if (!boot_cpu_has_bug(X86_BUG_RFDS) || cpu_mitigations_off()) { in rfds_select_mitigation()539 if (cpu_mitigations_off()) in md_clear_update_mitigation()678 else if (cpu_mitigations_off() || srbds_off) in srbds_select_mitigation()806 if (cpu_mitigations_off()) in gds_select_mitigation()906 if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V1) || cpu_mitigations_off()) { in spectre_v1_select_mitigation()1039 if (!boot_cpu_has_bug(X86_BUG_RETBLEED) || cpu_mitigations_off()) in retbleed_select_mitigation()1475 cpu_mitigations_off()) in spectre_v2_parse_cmdline()[all …]
193 extern bool cpu_mitigations_off(void);196 static inline bool cpu_mitigations_off(void) in cpu_mitigations_off() function
2360 return cpu_mitigations_off() || bpf_token_capable(token, CAP_PERFMON); in bpf_bypass_spec_v1()2365 return cpu_mitigations_off() || bpf_token_capable(token, CAP_PERFMON); in bpf_bypass_spec_v4()
64 if (test_facility(156) || cpu_mitigations_off()) { in nospec_auto_detect()
94 bool ret = __nospectre_v2 || cpu_mitigations_off(); in spectre_v2_mitigations_off()424 bool ret = cpu_mitigations_off() || in spectre_v4_mitigations_off()1015 } else if (cpu_mitigations_off() || __nospectre_bhb) { in spectre_bhb_enable_mitigation()
1794 if (cpu_mitigations_off() && !__kpti_forced) { in unmap_kernel_at_el0()
87 if (cpu_mitigations_off()) in pti_check_boottime_disable()
3220 bool cpu_mitigations_off(void) in cpu_mitigations_off() function3224 EXPORT_SYMBOL_GPL(cpu_mitigations_off);
7235 return boot_cpu_has_bug(X86_BUG_ITLB_MULTIHIT) && !cpu_mitigations_off(); in get_nx_auto_mode()