Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/kernel/
Dcpu.c391 enum cpuhp_smt_control cpu_smt_control __read_mostly = CPU_SMT_ENABLED;
400 cpu_smt_control = CPU_SMT_FORCE_DISABLED; in cpu_smt_disable()
403 cpu_smt_control = CPU_SMT_DISABLED; in cpu_smt_disable()
414 cpu_smt_control = CPU_SMT_NOT_SUPPORTED; in cpu_smt_check_topology()
426 if (cpu_smt_control == CPU_SMT_ENABLED) in cpu_smt_allowed()
444 return cpu_smt_control != CPU_SMT_FORCE_DISABLED && in cpu_smt_possible()
445 cpu_smt_control != CPU_SMT_NOT_SUPPORTED; in cpu_smt_possible()
2111 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2121 cpu_smt_control = CPU_SMT_ENABLED; in cpuhp_smt_enable()
2152 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED) in __store_smt_control()
[all …]
/Linux-v5.4/include/linux/
Dcpu.h206 extern enum cpuhp_smt_control cpu_smt_control;
213 # define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED) macro
/Linux-v5.4/arch/x86/kernel/cpu/
Dbugs.c586 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED || in spectre_v2_user_select_mitigation()
587 cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in spectre_v2_user_select_mitigation()