/[linux-patches]/genpatches-2.6/trunk/2.6.14/1820_ppc-g5-overtemp.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1820_ppc-g5-overtemp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 292 - (show annotations) (download) (as text)
Tue Jan 31 21:50:53 2006 UTC (14 years, 9 months ago) by johnm
File MIME type: text/x-diff
File size: 1676 byte(s)
Large update - thanks goes to Kerin Millar for the legwork.
1 From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2 Date: Mon, 19 Dec 2005 00:24:53 +0000 (+1100)
3 Subject: [PATCH] powerpc: g5 thermal overtemp bug
4 X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6ee7fb7e363aa8828b3920422416707c79f39007
5
6 [PATCH] powerpc: g5 thermal overtemp bug
7
8 The g5 thermal control for liquid cooled machines has a small bug, when
9 the temperatures gets too high, it boosts all fans to the max, but
10 incorrectly sets the liquids pump to the min instead of the max speed,
11 thus causing the overtemp condition not to clear and the machine to shut
12 down after a while. This fixes it to set the pumps to max speed instead.
13 This problem might explain some of the reports of random shutdowns that
14 some g5 users have been reporting in the past.
15
16 Many thanks to Marcus Rothe for spending a lot of time trying various
17 patches & sending log logs before I found out that typo. Note that
18 overtemp handling is still not perfect and the machine might still
19 shutdown, that patch should reduce if not eliminate such occcurences in
20 "normal" conditions with high load. I'll implement a better handling
21 with proper slowing down of the CPUs later.
22
23 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
24 Signed-off-by: Linus Torvalds <torvalds@osdl.org>
25 ---
26
27 --- a/drivers/macintosh/therm_pm72.c
28 +++ b/drivers/macintosh/therm_pm72.c
29 @@ -933,7 +933,7 @@ static void do_monitor_cpu_combined(void
30 if (state0->overtemp > 0) {
31 state0->rpm = state0->mpu.rmaxn_exhaust_fan;
32 state0->intake_rpm = intake = state0->mpu.rmaxn_intake_fan;
33 - pump = state0->pump_min;
34 + pump = state0->pump_max;
35 goto do_set_fans;
36 }
37

  ViewVC Help
Powered by ViewVC 1.1.20