boot_cpu_has_bug
return boot_cpu_has_bug(X86_BUG_L1TF);
if (!boot_cpu_has_bug(X86_BUG_GDS))
if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V1))
if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V1))
if (boot_cpu_has_bug(X86_BUG_SWAPGS) &&
if (!boot_cpu_has_bug(X86_BUG_RETBLEED)) {
if (!boot_cpu_has_bug(X86_BUG_RETBLEED))
if (!boot_cpu_has_bug(X86_BUG_ITS)) {
!boot_cpu_has_bug(X86_BUG_ITS_NATIVE_ONLY))
if (!boot_cpu_has_bug(X86_BUG_ITS))
if (!boot_cpu_has_bug(X86_BUG_TSA)) {
if (boot_cpu_has_bug(X86_BUG_EIBRS_PBRSB)) {
if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V2)) {
boot_cpu_has_bug(X86_BUG_RETBLEED) &&
if (boot_cpu_has_bug(X86_BUG_SPECTRE_V2))
if (boot_cpu_has_bug(X86_BUG_RETBLEED) &&
if (!boot_cpu_has_bug(X86_BUG_MSBDS_ONLY))
if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) {
if (boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS))
if (!boot_cpu_has_bug(X86_BUG_SPECTRE_V2))
if (!boot_cpu_has_bug(X86_BUG_L1TF)) {
if (!boot_cpu_has_bug(X86_BUG_L1TF))
if (!boot_cpu_has_bug(X86_BUG_L1TF))
if (!boot_cpu_has_bug(X86_BUG_SRSO)) {
if (!boot_cpu_has_bug(X86_BUG_SRSO))
if (!boot_cpu_has_bug(X86_BUG_VMSCAPE) ||
if (!boot_cpu_has_bug(X86_BUG_VMSCAPE))
if (boot_cpu_has_bug(X86_BUG_EIBRS_PBRSB)) {
if (!boot_cpu_has_bug(X86_BUG_BHI))
if (!boot_cpu_has_bug(X86_BUG_MDS)) {
if (!boot_cpu_has_bug(bug))
if (!boot_cpu_has_bug(X86_BUG_MDS))
if (!boot_cpu_has_bug(X86_BUG_MDS))
return boot_cpu_has_bug(X86_BUG_TAA) && boot_cpu_has(X86_FEATURE_RTM);
if (!boot_cpu_has_bug(X86_BUG_TAA)) {
if (!boot_cpu_has_bug(X86_BUG_TAA))
if (!boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA)) {
if (boot_cpu_has_bug(X86_BUG_MDS) || taa_vulnerable())
if (!boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA))
if (!boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA))
if (!boot_cpu_has_bug(X86_BUG_RFDS)) {
if (!boot_cpu_has_bug(X86_BUG_RFDS))
if (!boot_cpu_has_bug(X86_BUG_RFDS))
if (!boot_cpu_has_bug(X86_BUG_SRBDS))
if (!boot_cpu_has_bug(X86_BUG_SRBDS)) {
!boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA))
if (!boot_cpu_has_bug(X86_BUG_SRBDS))
if (!boot_cpu_has_bug(X86_BUG_GDS))
if (!boot_cpu_has_bug(X86_BUG_GDS))
if (boot_cpu_has_bug(X86_BUG_GDS))
if (boot_cpu_has_bug(X86_BUG_TDX_PW_MCE))
str_yes_no(boot_cpu_has_bug(X86_BUG_FDIV)),
str_yes_no(boot_cpu_has_bug(X86_BUG_F00F)),
str_yes_no(boot_cpu_has_bug(X86_BUG_COMA)),
if (!boot_cpu_has_bug(X86_BUG_TAA) ||
if (boot_cpu_has_bug(X86_BUG_TAA))
if (boot_cpu_has_bug(X86_BUG_TDX_PW_MCE)) {
if (boot_cpu_has_bug(X86_BUG_MONITOR) || boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E))
if (boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) {
if (!boot_cpu_has_bug(X86_BUG_AMD_E400))
!boot_cpu_has_bug(X86_BUG_EIBRS_PBRSB))
if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS))
return boot_cpu_has_bug(X86_BUG_ITLB_MULTIHIT) && !cpu_mitigations_off();
if (boot_cpu_has_bug(X86_BUG_L1TF) &&
if (!boot_cpu_has_bug(X86_BUG_L1TF)) {
!boot_cpu_has_bug(X86_BUG_MDS) &&
!boot_cpu_has_bug(X86_BUG_TAA);
mitigate_smt_rsb &= boot_cpu_has_bug(X86_BUG_SMT_RSB) && cpu_smt_possible();
if (!boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN))
if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS))
if (!boot_cpu_has_bug(X86_BUG_MDS))
if (!boot_cpu_has_bug(X86_BUG_RFDS))
if (!boot_cpu_has_bug(X86_BUG_ITS))
} else if (!boot_cpu_has_bug(X86_BUG_TAA)) {
if (!boot_cpu_has_bug(X86_BUG_GDS) || gds_ucode_mitigated())
!boot_cpu_has_bug(X86_BUG_MONITOR) &&
if (!mitigate_smt_rsb && boot_cpu_has_bug(X86_BUG_SMT_RSB) &&
if (boot_cpu_has_bug(X86_BUG_F00F) && !(error_code & X86_PF_USER) &&
if (boot_cpu_has_bug(X86_BUG_L1TF) && l1tf_mitigation != L1TF_MITIGATION_OFF) {
if (!boot_cpu_has_bug(X86_BUG_L1TF))
if (boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN))
if (!boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN))
if (pti_mode == PTI_AUTO && !boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN))
if (!boot_cpu_has_bug(X86_BUG_TDX_PW_MCE))
if (boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E))