Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/power/
Dhibernate.c266 if (cpu_smt_control == CPU_SMT_DISABLED || in arch_resume_nosmt()
267 cpu_smt_control == CPU_SMT_FORCE_DISABLED) { in arch_resume_nosmt()
268 enum cpuhp_smt_control old = cpu_smt_control; in arch_resume_nosmt()
/Linux-v5.10/kernel/
Dcpu.c392 enum cpuhp_smt_control cpu_smt_control __read_mostly = CPU_SMT_ENABLED;
401 cpu_smt_control = CPU_SMT_FORCE_DISABLED; in cpu_smt_disable()
404 cpu_smt_control = CPU_SMT_DISABLED; in cpu_smt_disable()
415 cpu_smt_control = CPU_SMT_NOT_SUPPORTED; in cpu_smt_check_topology()
427 if (cpu_smt_control == CPU_SMT_ENABLED) in cpu_smt_allowed()
445 return cpu_smt_control != CPU_SMT_FORCE_DISABLED && in cpu_smt_possible()
446 cpu_smt_control != CPU_SMT_NOT_SUPPORTED; in cpu_smt_possible()
2098 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2108 cpu_smt_control = CPU_SMT_ENABLED; in cpuhp_smt_enable()
2293 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED) in __store_smt_control()
[all …]
/Linux-v5.10/include/linux/
Dcpu.h213 extern enum cpuhp_smt_control cpu_smt_control;
220 # define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED) macro
/Linux-v5.10/arch/x86/kernel/cpu/
Dbugs.c713 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED || in spectre_v2_user_select_mitigation()
714 cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in spectre_v2_user_select_mitigation()