/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | bugs.c | 256 setup_force_cpu_cap(X86_FEATURE_CLEAR_CPU_BUF); in mds_select_mitigation() 357 setup_force_cpu_cap(X86_FEATURE_CLEAR_CPU_BUF); in taa_select_mitigation() 421 setup_force_cpu_cap(X86_FEATURE_CLEAR_CPU_BUF); in mmio_select_mitigation() 509 setup_force_cpu_cap(X86_FEATURE_CLEAR_CPU_BUF); in rfds_select_mitigation() 934 setup_force_cpu_cap(X86_FEATURE_FENCE_SWAPGS_USER); in spectre_v1_select_mitigation() 941 setup_force_cpu_cap(X86_FEATURE_FENCE_SWAPGS_KERNEL); in spectre_v1_select_mitigation() 1102 setup_force_cpu_cap(X86_FEATURE_RETHUNK); in retbleed_select_mitigation() 1103 setup_force_cpu_cap(X86_FEATURE_UNRET); in retbleed_select_mitigation() 1115 setup_force_cpu_cap(X86_FEATURE_ENTRY_IBPB); in retbleed_select_mitigation() 1116 setup_force_cpu_cap(X86_FEATURE_IBPB_ON_VMEXIT); in retbleed_select_mitigation() [all …]
|
H A D | tsx.c | 154 setup_force_cpu_cap(X86_FEATURE_RTM_ALWAYS_ABORT); in tsx_dev_mode_disable() 190 setup_force_cpu_cap(X86_FEATURE_MSR_TSX_CTRL); in tsx_init() 242 setup_force_cpu_cap(X86_FEATURE_RTM); in tsx_init() 243 setup_force_cpu_cap(X86_FEATURE_HLE); in tsx_init()
|
H A D | amd.c | 602 setup_force_cpu_cap(X86_FEATURE_LS_CFG_SSBD); in bsp_init_amd() 603 setup_force_cpu_cap(X86_FEATURE_SSBD); in bsp_init_amd() 616 setup_force_cpu_cap(X86_FEATURE_ZEN1); in bsp_init_amd() 622 setup_force_cpu_cap(X86_FEATURE_ZEN2); in bsp_init_amd() 633 setup_force_cpu_cap(X86_FEATURE_ZEN3); in bsp_init_amd() 637 setup_force_cpu_cap(X86_FEATURE_ZEN4); in bsp_init_amd() 805 setup_force_cpu_cap(X86_FEATURE_IBPB_BRTYPE); in early_init_amd() 807 setup_force_cpu_cap(X86_FEATURE_IBPB_BRTYPE); in early_init_amd() 808 setup_force_cpu_cap(X86_FEATURE_SBPB); in early_init_amd() 1014 setup_force_cpu_cap(X86_FEATURE_ZEN); in init_amd_zn()
|
H A D | vmware.c | 380 setup_force_cpu_cap(X86_FEATURE_CONSTANT_TSC); in vmware_set_capabilities() 381 setup_force_cpu_cap(X86_FEATURE_TSC_RELIABLE); in vmware_set_capabilities() 383 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); in vmware_set_capabilities() 385 setup_force_cpu_cap(X86_FEATURE_VMCALL); in vmware_set_capabilities() 387 setup_force_cpu_cap(X86_FEATURE_VMW_VMMCALL); in vmware_set_capabilities()
|
H A D | hygon.c | 238 setup_force_cpu_cap(X86_FEATURE_LS_CFG_SSBD); in bsp_init_hygon() 239 setup_force_cpu_cap(X86_FEATURE_SSBD); in bsp_init_hygon()
|
H A D | mshyperv.c | 482 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); in ms_hyperv_init_platform() 567 setup_force_cpu_cap(X86_FEATURE_TSC_RELIABLE); in ms_hyperv_init_platform()
|
H A D | common.c | 527 setup_force_cpu_cap(X86_FEATURE_OSPKE); in setup_pku() 1392 setup_force_cpu_cap(X86_FEATURE_IBRS_ENHANCED); in cpu_set_bug_bits() 1518 setup_force_cpu_cap(X86_FEATURE_NOPL); in detect_nopl() 1648 setup_force_cpu_cap(X86_FEATURE_CPUID); in early_identify_cpu() 1663 setup_force_cpu_cap(X86_FEATURE_ALWAYS); in early_identify_cpu()
|
H A D | intel.c | 1126 setup_force_cpu_cap(X86_FEATURE_SPLIT_LOCK_DETECT); in __split_lock_setup()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | paravirt-spinlocks.c | 39 setup_force_cpu_cap(X86_FEATURE_PVUNLOCK); in paravirt_set_cap() 42 setup_force_cpu_cap(X86_FEATURE_VCPUPREEMPT); in paravirt_set_cap()
|
H A D | tsc_msr.c | 223 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); in cpu_khz_from_msr() 233 setup_force_cpu_cap(X86_FEATURE_TSC_RELIABLE); in cpu_khz_from_msr()
|
H A D | jailhouse.c | 257 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); in jailhouse_init_platform()
|
H A D | tsc.c | 694 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); in native_calibrate_tsc() 717 setup_force_cpu_cap(X86_FEATURE_TSC_RELIABLE); in native_calibrate_tsc() 1101 setup_force_cpu_cap(X86_FEATURE_ART); in detect_art()
|
H A D | kvmclock.c | 119 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); in kvm_get_tsc_khz()
|
/openbmc/linux/arch/um/include/asm/ |
H A D | cpufeature.h | 61 #define setup_force_cpu_cap(bit) do { \ macro 66 #define setup_force_cpu_bug(bit) setup_force_cpu_cap(bit)
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cpufeature.h | 153 #define setup_force_cpu_cap(bit) do { \ macro 158 #define setup_force_cpu_bug(bit) setup_force_cpu_cap(bit)
|
/openbmc/linux/arch/x86/kernel/fpu/ |
H A D | init.c | 79 setup_force_cpu_cap(X86_FEATURE_FPU); in fpu__init_system_early_generic()
|
H A D | xstate.c | 838 setup_force_cpu_cap(X86_FEATURE_XCOMPACTED); in fpu__init_system_xstate() 890 setup_force_cpu_cap(X86_FEATURE_OSXSAVE); in fpu__init_system_xstate()
|
/openbmc/linux/arch/x86/xen/ |
H A D | time.c | 43 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); in xen_tsc_khz() 541 setup_force_cpu_cap(X86_FEATURE_TSC); in xen_time_init()
|
H A D | enlighten_pv.c | 337 setup_force_cpu_cap(X86_FEATURE_XENPV); in xen_init_capabilities() 356 setup_force_cpu_cap(X86_FEATURE_MWAIT); in xen_init_capabilities()
|
/openbmc/linux/arch/x86/mm/ |
H A D | pti.c | 121 setup_force_cpu_cap(X86_FEATURE_PTI); in pti_check_boottime_disable()
|
/openbmc/linux/arch/x86/coco/tdx/ |
H A D | tdx.c | 849 setup_force_cpu_cap(X86_FEATURE_TDX_GUEST); in tdx_early_init()
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | cpuinfo.rst | 65 setup_force_cpu_cap macros. For example, if bit 5 is set in MSR_IA32_CORE_CAPS,
|