Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/cpu/
H A Dbugs.c266 if (!boot_cpu_has_bug(X86_BUG_MDS)) in mds_cmdline()
365 if (!boot_cpu_has_bug(X86_BUG_TAA)) in tsx_async_abort_parse_cmdline()
419 if (boot_cpu_has_bug(X86_BUG_MDS) || (boot_cpu_has_bug(X86_BUG_TAA) && in mmio_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()
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()
578 if (boot_cpu_has_bug(X86_BUG_RFDS)) in md_clear_update_mitigation()
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()
[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.c2055 if (boot_cpu_has_bug(X86_BUG_GDS)) in identify_secondary_cpu()
/openbmc/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()
118 if (!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.c1083 if (boot_cpu_has_bug(X86_BUG_L1TF) && l1tf_mitigation != L1TF_MITIGATION_OFF) { in arch_max_swapfile_size()
H A Dfault.c467 if (boot_cpu_has_bug(X86_BUG_F00F) && !(error_code & X86_PF_USER) && in is_f00f_bug()
/openbmc/linux/arch/x86/kernel/
H A Dprocess.c861 if (!boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) { in amd_e400_idle()
894 if (boot_cpu_has_bug(X86_BUG_MONITOR)) in prefer_mwait_c1_over_halt()
945 if (boot_cpu_has_bug(X86_BUG_AMD_E400)) { in select_idle_routine()
960 if (boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) { in amd_e400_c1e_apic_setup()
972 if (!boot_cpu_has_bug(X86_BUG_AMD_E400)) in arch_post_acpi_subsys_init()
/openbmc/linux/arch/um/include/asm/
H A Dcpufeature.h131 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) macro
/openbmc/linux/arch/x86/include/asm/
H A Dcpufeature.h205 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) macro
H A Dpgtable.h1663 return boot_cpu_has_bug(X86_BUG_L1TF); in arch_has_pfn_modify_check()
/openbmc/linux/arch/x86/kvm/mmu/
H A Dspte.c472 if (boot_cpu_has_bug(X86_BUG_L1TF) && in kvm_mmu_reset_all_pte_masks()
H A Dmmu.c6811 return boot_cpu_has_bug(X86_BUG_ITLB_MULTIHIT) && !cpu_mitigations_off(); in get_nx_auto_mode()
/openbmc/linux/drivers/acpi/
H A Dprocessor_idle.c133 if (boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) in lapic_timer_check_state()
/openbmc/linux/arch/x86/kvm/
H A Dx86.c1650 if (!boot_cpu_has_bug(X86_BUG_CPU_MELTDOWN)) in kvm_get_arch_capabilities()
1652 if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) in kvm_get_arch_capabilities()
1654 if (!boot_cpu_has_bug(X86_BUG_MDS)) in kvm_get_arch_capabilities()
1656 if (!boot_cpu_has_bug(X86_BUG_RFDS)) in kvm_get_arch_capabilities()
1668 } else if (!boot_cpu_has_bug(X86_BUG_TAA)) { in kvm_get_arch_capabilities()
1678 if (!boot_cpu_has_bug(X86_BUG_GDS) || gds_ucode_mitigated()) in kvm_get_arch_capabilities()
4424 !boot_cpu_has_bug(X86_BUG_MONITOR) && in kvm_can_mwait_in_guest()
6351 if (boot_cpu_has_bug(X86_BUG_SMT_RSB) && cpu_smt_possible() && in kvm_vm_ioctl_enable_cap()
13698 mitigate_smt_rsb &= boot_cpu_has_bug(X86_BUG_SMT_RSB) && cpu_smt_possible(); in kvm_x86_init()
H A Dcpuid.c740 if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS)) in kvm_set_cpu_caps()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c246 if (!boot_cpu_has_bug(X86_BUG_L1TF)) { in vmx_setup_l1d_flush()
402 !boot_cpu_has_bug(X86_BUG_MDS) && in vmx_update_fb_clear_dis()
403 !boot_cpu_has_bug(X86_BUG_TAA); in vmx_update_fb_clear_dis()