Home
last modified time | relevance | path

Searched refs:cpu_smt_control (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/
H A Dcpu_smt.h14 extern enum cpuhp_smt_control cpu_smt_control;
23 # define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED) macro
/openbmc/linux/arch/x86/power/
H A Dhibernate.c205 if (cpu_smt_control == CPU_SMT_DISABLED || in arch_resume_nosmt()
206 cpu_smt_control == CPU_SMT_FORCE_DISABLED) { in arch_resume_nosmt()
207 enum cpuhp_smt_control old = cpu_smt_control; in arch_resume_nosmt()
/openbmc/linux/kernel/
H A Dcpu.c607 cpu_smt_control = CPU_SMT_FORCE_DISABLED; in cpu_smt_disable()
610 cpu_smt_control = CPU_SMT_DISABLED; in cpu_smt_disable()
625 cpu_smt_control = CPU_SMT_NOT_SUPPORTED; in cpu_smt_set_num_threads()
635 if (cpu_smt_control != CPU_SMT_ENABLED) in cpu_smt_set_num_threads()
668 if (cpu_smt_control == CPU_SMT_NOT_IMPLEMENTED) in cpu_bootable()
672 if (cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in cpu_bootable()
691 cpu_smt_control != CPU_SMT_NOT_SUPPORTED; in cpu_smt_possible()
2726 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2746 cpu_smt_control = CPU_SMT_ENABLED; in cpuhp_smt_enable()
2948 if (cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in __store_smt_control()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-cpu.c403 if (cpu_smt_control != CPU_SMT_ENABLED) in dlpar_online_cpu()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dbugs.c1338 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED || in spectre_v2_user_select_mitigation()
1339 cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in spectre_v2_user_select_mitigation()