]> err.no Git - linux-2.6/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)
commitf12f4d90308a22396ac87f6c3a7b2620589614c3
treebd086b38c2a3d3de8d765f52d0bbaae7035bab08
parent557962a926c62a9c4bd79d6b36df873d4f8c51ef
[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