[K42-discussion] G5 thermal management patches for kitchsrc and linux-029
Patrick Bozeman
PEBozeman at lbl.gov
Sat Feb 4 12:59:38 EST 2006
The G5 thermal management seems to be working for me under K42 now using
the attached patches. There are 3 required patches, and 1 optional patch.
Without applying the interrupts patch, the system will crash on boot.
The thermal patches keep the fans from spinning up to 100% when not
needed, which gets *very* loud.
Note that the previous patch I sent avoided the crash due to the guard
in i2c-keywest, but it wasn't actually fixing up the OF tree. I didn't
realize that K42 wasn't using the linux prom init code and was using a
private copy of it in the kitchsrc powerpc arch directory instead.
k42-g5-interrupts.patch:
Fixes up the i2c interrupts on newer G5s during the prom init code in
K42. Without either this or the g5-interrupts.patch for linux-029,
newer G5's will crash at bootup.
k42-g5-therm.patch:
Enables therm_pm72 in powerpc/ConfigureArch.c Someone had previously
commented out the therm_pm72_init call though. Does anyone know why?
g5-therm.patch:
Updates linux-029 to use the linux-2.6.12 therm_pm72 thermal management
code.
g5-interrupts.patch: (optional)
Fixes up the i2c interrupts in linux-029's prom init code. When running
under K42, this isn't needed since K42 is responsible for reading the OF
device tree. However, if anyone were to build and boot the linux-029
kernel directly on a newer G5, they will need this patch. This patch
also places a guard in i2c-keywest.c that avoids dereferencing null
pointers on buggy OF tress that haven't been fixed up. Since
k42-g5-interrupts.patch has already fixed the tree up, this is for
future safety only.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: k42-g5-interrupts.patch
Url: http://ozlabs.org/pipermail/k42-discussion/attachments/20060203/7d5a18f4/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: k42-g5-therm.patch
Url: http://ozlabs.org/pipermail/k42-discussion/attachments/20060203/7d5a18f4/attachment-0001.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: g5-interrupts.patch
Url: http://ozlabs.org/pipermail/k42-discussion/attachments/20060203/7d5a18f4/attachment-0002.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: g5-therm.patch
Url: http://ozlabs.org/pipermail/k42-discussion/attachments/20060203/7d5a18f4/attachment-0003.txt
More information about the K42-discussion
mailing list