Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/kernel/
Dcpu.c416 enum cpuhp_smt_control cpu_smt_control __read_mostly = CPU_SMT_ENABLED;
425 cpu_smt_control = CPU_SMT_FORCE_DISABLED; in cpu_smt_disable()
428 cpu_smt_control = CPU_SMT_DISABLED; in cpu_smt_disable()
439 cpu_smt_control = CPU_SMT_NOT_SUPPORTED; in cpu_smt_check_topology()
451 if (cpu_smt_control == CPU_SMT_ENABLED) in cpu_smt_allowed()
469 return cpu_smt_control != CPU_SMT_FORCE_DISABLED && in cpu_smt_possible()
470 cpu_smt_control != CPU_SMT_NOT_SUPPORTED; in cpu_smt_possible()
2261 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2271 cpu_smt_control = CPU_SMT_ENABLED; in cpuhp_smt_enable()
2467 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED) in __store_smt_control()
[all …]
/Linux-v6.1/include/linux/
Dcpu.h217 extern enum cpuhp_smt_control cpu_smt_control;
224 # define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED) macro
/Linux-v6.1/arch/x86/kernel/cpu/
Dbugs.c1116 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED || in spectre_v2_user_select_mitigation()
1117 cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in spectre_v2_user_select_mitigation()