Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/power/
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()
/Linux-v5.15/kernel/
Dcpu.c414 enum cpuhp_smt_control cpu_smt_control __read_mostly = CPU_SMT_ENABLED;
423 cpu_smt_control = CPU_SMT_FORCE_DISABLED; in cpu_smt_disable()
426 cpu_smt_control = CPU_SMT_DISABLED; in cpu_smt_disable()
437 cpu_smt_control = CPU_SMT_NOT_SUPPORTED; in cpu_smt_check_topology()
449 if (cpu_smt_control == CPU_SMT_ENABLED) in cpu_smt_allowed()
467 return cpu_smt_control != CPU_SMT_FORCE_DISABLED && in cpu_smt_possible()
468 cpu_smt_control != CPU_SMT_NOT_SUPPORTED; in cpu_smt_possible()
2232 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2242 cpu_smt_control = CPU_SMT_ENABLED; in cpuhp_smt_enable()
2438 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED) in __store_smt_control()
[all …]
/Linux-v5.15/include/linux/
Dcpu.h212 extern enum cpuhp_smt_control cpu_smt_control;
219 # define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED) macro
/Linux-v5.15/arch/x86/kernel/cpu/
Dbugs.c750 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED || in spectre_v2_user_select_mitigation()
751 cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in spectre_v2_user_select_mitigation()