Re: ICTC control (was: tiBook CPU speed)

2002-08-07 Thread Benjamin Herrenschmidt
>I have most of the code for this ready; but it was for 2.2 kernels >(nothing fancy; just a copy of the l2cr bit :-). > >I've looked at how one can integrate it into 2.4. We'd need a sysctl >number in kernel/sysctl.[c,h], and a function handling the gory details. > >We could move the l2cr sysctl ou

Re: ICTC control (was: tiBook CPU speed)

2002-08-06 Thread Michel Lanners
On 6 Aug, this message from Benjamin Herrenschmidt echoed through cyberspace: > Something else we may want to > implement is a way (sysctl ?) to control the ICTC (instruction cache > throttling). This has the effect of slowing down instruction fetching > by the CPU and lowering it's temperature &

Re: tiBook CPU speed

2002-08-06 Thread Michael Furr
On Tue, 2002-08-06 at 11:34, Benjamin Herrenschmidt wrote: > Anyway, once that is merged with cpufreq, I'd rather let userland decide > on policy of what to do with CPU speed. Something else we may want to > implement is a way (sysctl ?) to control the ICTC (instruction cache > throttling). This ha

Re: tiBook CPU speed

2002-08-06 Thread Bobby MacGregor
Go to the main penguinppc.org page. Apparent BenH has gotten the 800Mhz TiBook's to run at native speed. I have a hunch though, that maybe the 667Mhz and 800Mhz TiBook's are exactly the same hardware, and it is only a software hack to get them to go to 800Mhz (this is why the speed throttlin

Re: tiBook CPU speed

2002-08-06 Thread Benjamin Herrenschmidt
>Do you have any plans to try to integrate this with the cpu temperature >detection so that it would automagically downclock when it runs too hot >for too long? > >Might prolong the life of the machine a bit. No, the internal CPU temperature stuff is broken, and not supported anymore in the 745x f

Re: tiBook CPU speed

2002-08-06 Thread Mark Brown
On Tue, Aug 06, 2002 at 10:50:43AM -0400, Michael Furr wrote: > Do you have any plans to try to integrate this with the cpu temperature > detection so that it would automagically downclock when it runs too hot > for too long? Surely that's something that should be done in user space? -- "You gr

tiBook CPU speed

2002-08-06 Thread Toby Sargeant
I noticed this issue mentioned previously on this list, but there didn't seem to be any resolution. The 800MHz tiBook boots linux in 667MHz mode: /proc/device-tree/cpus/PowerPC,G4 min-clock-frequency 000: 27c1 9cc0'... max-clock-frequency 000: 2faf 0800

Re: tiBook CPU speed

2002-08-06 Thread Michael Furr
On Tue, 2002-08-06 at 10:36, Benjamin Herrenschmidt wrote: > You can try if you aren't afraid..., just get my latest rsync or bk > tree, then do > > echo "cpu_low_speed=0" >/proc/pmu/options cool. Do you have any plans to try to integrate this with the cpu temperature detection so that it would a

Re: tiBook CPU speed

2002-08-06 Thread Benjamin Herrenschmidt
> Go to the main penguinppc.org page. Apparent BenH has gotten the >800Mhz TiBook's to run at native speed. I have a hunch though, that >maybe the 667Mhz and 800Mhz TiBook's are exactly the same hardware, and >it is only a software hack to get them to go to 800Mhz (this is why the >spee