Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/cpu/
Dbugs.c248 if (!boot_cpu_has_bug(X86_BUG_MDS) || cpu_mitigations_off()) { in mds_select_mitigation()
267 if (!boot_cpu_has_bug(X86_BUG_MDS)) in mds_cmdline()
310 if (!boot_cpu_has_bug(X86_BUG_TAA)) { in taa_select_mitigation()
367 if (!boot_cpu_has_bug(X86_BUG_TAA)) in tsx_async_abort_parse_cmdline()
408 if (!boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA) || in mmio_select_mitigation()
409 boot_cpu_has_bug(X86_BUG_MMIO_UNKNOWN) || in mmio_select_mitigation()
422 if (boot_cpu_has_bug(X86_BUG_MDS) || (boot_cpu_has_bug(X86_BUG_TAA) && in mmio_select_mitigation()
464 if (!boot_cpu_has_bug(X86_BUG_MMIO_STALE_DATA)) in mmio_stale_data_parse_cmdline()
504 if (!boot_cpu_has_bug(X86_BUG_RFDS) || cpu_mitigations_off()) { in rfds_select_mitigation()
522 if (!boot_cpu_has_bug(X86_BUG_RFDS)) in rfds_parse_cmdline()
[all …]
Dproc.c44 boot_cpu_has_bug(X86_BUG_FDIV) ? "yes" : "no", in show_cpuinfo_misc()
45 boot_cpu_has_bug(X86_BUG_F00F) ? "yes" : "no", in show_cpuinfo_misc()
46 boot_cpu_has_bug(X86_BUG_COMA) ? "yes" : "no", in show_cpuinfo_misc()
Dtsx.c64 if (boot_cpu_has_bug(X86_BUG_TAA)) in x86_get_tsx_auto_mode()
144 if (!boot_cpu_has_bug(X86_BUG_TAA) || in tsx_dev_mode_disable()
Dcommon.c1969 if (boot_cpu_has_bug(X86_BUG_GDS)) in identify_secondary_cpu()
/linux-6.12.1/arch/x86/mm/
Dpti.c62 if (boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN)) in pti_print_if_insecure()
68 if (!boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN)) in pti_print_if_secure()
97 if (pti_mode == PTI_AUTO && !boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN)) in pti_check_boottime_disable()
Dmmap.c240 if (!boot_cpu_has_bug(X86_BUG_L1TF)) in pfn_modify_allowed()
Dinit.c1037 if (boot_cpu_has_bug(X86_BUG_L1TF) && l1tf_mitigation != L1TF_MITIGATION_OFF) { in arch_max_swapfile_size()
Dfault.c470 if (boot_cpu_has_bug(X86_BUG_F00F) && !(error_code & X86_PF_USER) && in is_f00f_bug()
/linux-6.12.1/arch/x86/kernel/
Dprocess.c877 if (boot_cpu_has_bug(X86_BUG_MONITOR) || boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) in prefer_mwait_c1_over_halt()
944 if (boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) { in amd_e400_c1e_apic_setup()
956 if (!boot_cpu_has_bug(X86_BUG_AMD_E400)) in arch_post_acpi_subsys_init()
/linux-6.12.1/arch/um/include/asm/
Dcpufeature.h130 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) macro
/linux-6.12.1/arch/x86/include/asm/
Dcpufeature.h207 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) macro
Dpgtable.h1733 return boot_cpu_has_bug(X86_BUG_L1TF); in arch_has_pfn_modify_check()
/linux-6.12.1/arch/x86/kvm/mmu/
Dspte.c470 if (boot_cpu_has_bug(X86_BUG_L1TF) && in kvm_mmu_reset_all_pte_masks()
Dmmu.c7235 return boot_cpu_has_bug(X86_BUG_ITLB_MULTIHIT) && !cpu_mitigations_off(); in get_nx_auto_mode()
/linux-6.12.1/drivers/acpi/
Dprocessor_idle.c133 if (boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) in lapic_timer_check_state()
/linux-6.12.1/arch/x86/kvm/
Dx86.c1663 if (!boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN)) in kvm_get_arch_capabilities()
1665 if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) in kvm_get_arch_capabilities()
1667 if (!boot_cpu_has_bug(X86_BUG_MDS)) in kvm_get_arch_capabilities()
1669 if (!boot_cpu_has_bug(X86_BUG_RFDS)) in kvm_get_arch_capabilities()
1681 } else if (!boot_cpu_has_bug(X86_BUG_TAA)) { in kvm_get_arch_capabilities()
1691 if (!boot_cpu_has_bug(X86_BUG_GDS) || gds_ucode_mitigated()) in kvm_get_arch_capabilities()
4572 !boot_cpu_has_bug(X86_BUG_MONITOR) && in kvm_can_mwait_in_guest()
6577 if (boot_cpu_has_bug(X86_BUG_SMT_RSB) && cpu_smt_possible() && in kvm_vm_ioctl_enable_cap()
14014 mitigate_smt_rsb &= boot_cpu_has_bug(X86_BUG_SMT_RSB) && cpu_smt_possible(); in kvm_x86_init()
Dcpuid.c774 if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) in kvm_set_cpu_caps()
/linux-6.12.1/arch/x86/kernel/cpu/mce/
Dcore.c248 if (boot_cpu_has_bug(X86_BUG_TDX_PW_MCE)) in mce_dump_aux_info()
/linux-6.12.1/arch/x86/kvm/vmx/
Dvmx.c255 if (!boot_cpu_has_bug(X86_BUG_L1TF)) { in vmx_setup_l1d_flush()
411 !boot_cpu_has_bug(X86_BUG_MDS) && in vmx_update_fb_clear_dis()
412 !boot_cpu_has_bug(X86_BUG_TAA); in vmx_update_fb_clear_dis()