Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/kernel/
H A Dcpu.c402 enum cpuhp_smt_control cpu_smt_control __read_mostly = CPU_SMT_ENABLED;
411 cpu_smt_control = CPU_SMT_FORCE_DISABLED; in cpu_smt_disable()
414 cpu_smt_control = CPU_SMT_DISABLED; in cpu_smt_disable()
425 cpu_smt_control = CPU_SMT_NOT_SUPPORTED; in cpu_smt_check_topology()
437 if (cpu_smt_control == CPU_SMT_ENABLED) in cpu_smt_allowed()
455 return cpu_smt_control != CPU_SMT_FORCE_DISABLED && in cpu_smt_possible()
456 cpu_smt_control != CPU_SMT_NOT_SUPPORTED; in cpu_smt_possible()
2472 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2482 cpu_smt_control = CPU_SMT_ENABLED; in cpuhp_smt_enable()
2667 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED) in __store_smt_control()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dcpu.h222 extern enum cpuhp_smt_control cpu_smt_control;
229 # define cpu_smt_control (CPU_SMT_NOT_IMPLEMENTED) macro
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/
H A Dbugs.c1079 if (cpu_smt_control == CPU_SMT_FORCE_DISABLED || in spectre_v2_user_select_mitigation()
1080 cpu_smt_control == CPU_SMT_NOT_SUPPORTED) in spectre_v2_user_select_mitigation()