]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Loongson: Reduce possible loop times and add log in do_thermal_timer()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 9 Jul 2020 03:55:20 +0000 (11:55 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 16 Jul 2020 08:49:36 +0000 (10:49 +0200)
commitf2eae198c4f65d07de29b0effc5baced9a2c3c89
treeea57de0e9f1a9f8cd673d42f3b965bf15f0389cb
parentbeaefec4218f7dd7b03126f88b8a38a77d0f1366
MIPS: Loongson: Reduce possible loop times and add log in do_thermal_timer()

Once the temperature of any CPUs is too high, it can power off immediately,
no need to check the rest of CPUs, and it is better to print a log before
power off, this is useful when analysis the abnormal issues.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Zhi Li <lizhi01@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/platform/mips/cpu_hwmon.c