]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] powerpc: more g5 overtemp problem fix
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 Jan 2006 02:04:44 +0000 (13:04 +1100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Jan 2006 16:38:37 +0000 (08:38 -0800)
commita0933f9a323ca79eb3c4480ce7b13d372406434d
treebd086b38c2a3d3de8d765f52d0bbaae7035bab08
parent7366f180b900a22fa77f258e8f1428e195890bec
[PATCH] powerpc: more g5 overtemp problem fix

Some G5s still occasionally experience shutdowns due to overtemp
conditions despite the recent fix. After analyzing logs from such
machines, it appears that the overtemp code is a bit too quick at
shutting the machine down when reaching the critical temperature (tmax +
8) and doesn't leave the fan enough time to actually cool it down. This
happens if the temperature of a CPU suddenly rises too high in a very
short period of time, or occasionally on boot (that is the CPUs are
already overtemp by the time the driver loads).

This patches makes the code a bit more relaxed, leaving a few seconds to
the fans to do their job before kicking the machine shutown.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/macintosh/therm_pm72.c