Re: iMac G5: experimental thermal & cpufreq support

2005-09-30 Thread Benjamin Herrenschmidt
On Thu, 2005-09-29 at 18:40 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2005-09-29 at 17:20 +1000, Benjamin Herrenschmidt wrote: > > > http://gate.crashing.org/~benh/ppc64-smu-thermal-control.diff > > You may want to re-download this one if you got it already, I just fixed > a bug in the calcu

Re: iMac G5: experimental thermal & cpufreq support

2005-09-29 Thread Dean Hamstead
Although i dont have an imac g5, i think that in general ben is on the right track. its better to have something in place than nothing. not putting down the feedback, but im not sure just how much fiddling people will really want, and its not a huge audience. which brings me back to the point of j

Re: iMac G5: experimental thermal & cpufreq support

2005-09-29 Thread Benjamin Herrenschmidt
On Thu, 2005-09-29 at 16:28 -0700, Geoff Levand wrote: > Benjamin Herrenschmidt wrote: > > The algorithm itself is extracted from darwin. However, it's a rather > > complex modified version of the PID algorithm, and thus it could use > > some review to make sure I got everything right. > > > > As

Re: iMac G5: experimental thermal & cpufreq support

2005-09-29 Thread Geoff Levand
Benjamin Herrenschmidt wrote: > The algorithm itself is extracted from darwin. However, it's a rather > complex modified version of the PID algorithm, and thus it could use > some review to make sure I got everything right. > As we are already in the digital domain, I would think it would be mor

Re: iMac G5: experimental thermal & cpufreq support

2005-09-29 Thread Benjamin Herrenschmidt
On Thu, 2005-09-29 at 17:20 +1000, Benjamin Herrenschmidt wrote: > http://gate.crashing.org/~benh/ppc64-smu-thermal-control.diff You may want to re-download this one if you got it already, I just fixed a bug in the calculations of the CPU control loop. It's now getting results much more consistan

iMac G5: experimental thermal & cpufreq support

2005-09-29 Thread Benjamin Herrenschmidt
Hi ! I now have some experimental thermal control and cpufreq support for iMac G5. I have not _yet_ implemented support for the SMU based single CPU desktops (PowerMac9,1), those will have to wait a little bit more (not too much hopefully, but I need potential testers to contact me as I lack hardw