Lines Matching refs:boot_cpu_has_bug
247 if (!boot_cpu_has_bug(X86_BUG_MDS) || cpu_mitigations_off()) { in mds_select_mitigation()
266 if (!boot_cpu_has_bug(X86_BUG_MDS)) in mds_cmdline()
308 if (!boot_cpu_has_bug(X86_BUG_TAA)) { in taa_select_mitigation()
365 if (!boot_cpu_has_bug(X86_BUG_TAA)) in tsx_async_abort_parse_cmdline()
405 if (!boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA) || in mmio_select_mitigation()
406 boot_cpu_has_bug(X86_BUG_MMIO_UNKNOWN) || in mmio_select_mitigation()
419 if (boot_cpu_has_bug(X86_BUG_MDS) || (boot_cpu_has_bug(X86_BUG_TAA) && in mmio_select_mitigation()
461 if (!boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA)) in mmio_stale_data_parse_cmdline()
501 if (!boot_cpu_has_bug(X86_BUG_RFDS) || cpu_mitigations_off()) { in rfds_select_mitigation()
519 if (!boot_cpu_has_bug(X86_BUG_RFDS)) in rfds_parse_cmdline()
547 boot_cpu_has_bug(X86_BUG_MDS)) { in md_clear_update_mitigation()
552 boot_cpu_has_bug(X86_BUG_TAA)) { in md_clear_update_mitigation()
560 if (boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA)) { in md_clear_update_mitigation()
565 boot_cpu_has_bug(X86_BUG_RFDS)) { in md_clear_update_mitigation()
570 if (boot_cpu_has_bug(X86_BUG_MDS)) in md_clear_update_mitigation()
572 if (boot_cpu_has_bug(X86_BUG_TAA)) in md_clear_update_mitigation()
574 if (boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA)) in md_clear_update_mitigation()
576 else if (boot_cpu_has_bug(X86_BUG_MMIO_UNKNOWN)) in md_clear_update_mitigation()
578 if (boot_cpu_has_bug(X86_BUG_RFDS)) in md_clear_update_mitigation()
624 if (!boot_cpu_has_bug(X86_BUG_SRBDS)) in update_srbds_msr()
659 if (!boot_cpu_has_bug(X86_BUG_SRBDS)) in srbds_select_mitigation()
668 !boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA)) in srbds_select_mitigation()
686 if (!boot_cpu_has_bug(X86_BUG_SRBDS)) in srbds_parse_cmdline()
797 if (!boot_cpu_has_bug(X86_BUG_GDS)) in gds_select_mitigation()
853 if (!boot_cpu_has_bug(X86_BUG_GDS)) in gds_parse_cmdline()
904 if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V1) || cpu_mitigations_off()) { in spectre_v1_select_mitigation()
932 if (boot_cpu_has_bug(X86_BUG_SWAPGS) && in spectre_v1_select_mitigation()
1037 if (!boot_cpu_has_bug(X86_BUG_RETBLEED) || cpu_mitigations_off()) in retbleed_select_mitigation()
1285 if (boot_cpu_has_bug(X86_BUG_SPECTRE_V2) != secure) in spec_v2_user_print_cond()
1460 if (boot_cpu_has_bug(X86_BUG_SPECTRE_V2) != secure) in spec_v2_print_cond()
1606 if (boot_cpu_has_bug(X86_BUG_EIBRS_PBRSB)) { in spectre_v2_determine_rsb_fill_type_at_vmexit()
1702 if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V2) && in spectre_v2_select_mitigation()
1718 boot_cpu_has_bug(X86_BUG_RETBLEED) && in spectre_v2_select_mitigation()
1864 if (boot_cpu_has_bug(X86_BUG_RETBLEED) && in spectre_v2_select_mitigation()
1929 if (!boot_cpu_has_bug(X86_BUG_MSBDS_ONLY)) in update_mds_branch_idle()
2073 if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS) && in __ssb_select_mitigation()
2128 if (boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) in ssb_select_mitigation()
2325 if (boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) in ssb_prctl_get()
2333 if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V2)) in ib_prctl_get()
2433 if (!boot_cpu_has_bug(X86_BUG_L1TF)) in l1tf_select_mitigation()
2478 if (!boot_cpu_has_bug(X86_BUG_L1TF)) in l1tf_cmdline()
2563 if (!boot_cpu_has_bug(X86_BUG_SRSO) || cpu_mitigations_off()) in srso_select_mitigation()
2672 if ((!boot_cpu_has_bug(X86_BUG_SRSO) || srso_cmd == SRSO_CMD_OFF) && in srso_select_mitigation()
2769 if (boot_cpu_has_bug(X86_BUG_MMIO_UNKNOWN)) in mmio_stale_data_show_state()
2824 if (boot_cpu_has_bug(X86_BUG_EIBRS_PBRSB)) { in pbrsb_eibrs_state()
2837 if (!boot_cpu_has_bug(X86_BUG_BHI)) in spectre_bhi_state()
2916 if (!boot_cpu_has_bug(bug)) in cpu_show_common()
3025 if (boot_cpu_has_bug(X86_BUG_MMIO_UNKNOWN)) in cpu_show_mmio_stale_data()