Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/
H A Dbugs.c267 if (!boot_cpu_has_bug(X86_BUG_MDS)) in mds_cmdline()
367 if (!boot_cpu_has_bug(X86_BUG_TAA)) in tsx_async_abort_parse_cmdline()
422 if (boot_cpu_has_bug(X86_BUG_MDS) || (boot_cpu_has_bug(X86_BUG_TAA) && in mmio_select_mitigation()
522 if (!boot_cpu_has_bug(X86_BUG_RFDS)) in rfds_parse_cmdline()
550 boot_cpu_has_bug(X86_BUG_MDS)) { in md_clear_update_mitigation()
573 if (boot_cpu_has_bug(X86_BUG_MDS)) in md_clear_update_mitigation()
575 if (boot_cpu_has_bug(X86_BUG_TAA)) in md_clear_update_mitigation()
581 if (boot_cpu_has_bug(X86_BUG_RFDS)) in md_clear_update_mitigation()
798 if (!boot_cpu_has_bug(X86_BUG_GDS)) in gds_select_mitigation()
854 if (!boot_cpu_has_bug(X86_BUG_GDS)) in gds_parse_cmdline()
[all …]
H A 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()
H A 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()
H A Dcommon.c1969 if (boot_cpu_has_bug(X86_BUG_GDS)) in identify_secondary_cpu()
/linux/arch/x86/mm/
H A 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()
H A Dmmap.c240 if (!boot_cpu_has_bug(X86_BUG_L1TF)) in pfn_modify_allowed()
H A Dinit.c1037 if (boot_cpu_has_bug(X86_BUG_L1TF) && l1tf_mitigation != L1TF_MITIGATION_OFF) { in arch_max_swapfile_size()
H A Dfault.c470 if (boot_cpu_has_bug(X86_BUG_F00F) && !(error_code & X86_PF_USER) && in is_f00f_bug()
/linux/arch/x86/kernel/
H A 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/arch/um/include/asm/
H A Dcpufeature.h130 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) macro
/linux/arch/x86/include/asm/
H A Dcpufeature.h207 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) macro
H A Dpgtable.h1733 return boot_cpu_has_bug(X86_BUG_L1TF); in arch_has_pfn_modify_check()
/linux/arch/x86/kvm/mmu/
H A Dspte.c470 if (boot_cpu_has_bug(X86_BUG_L1TF) && in kvm_mmu_reset_all_pte_masks()
H A Dmmu.c7235 return boot_cpu_has_bug(X86_BUG_ITLB_MULTIHIT) && !cpu_mitigations_off(); in get_nx_auto_mode()
/linux/drivers/acpi/
H A Dprocessor_idle.c133 if (boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) in lapic_timer_check_state()
/linux/arch/x86/kvm/
H A 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()
H A Dcpuid.c774 if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) in kvm_set_cpu_caps()
/linux/arch/x86/kernel/cpu/mce/
H A Dcore.c248 if (boot_cpu_has_bug(X86_BUG_TDX_PW_MCE)) in mce_dump_aux_info()
/linux/arch/x86/kvm/vmx/
H A 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()