Re: Newer laptops & CPU speed

2005-03-20 Thread Michel Dänzer
On Sun, 2005-03-20 at 14:03 +, Joerg Sommer wrote: > > Are these wrong values or did something changed in the calculation? It's called *bogo*mips for a reason (see 'bogus' in an English dictionary). It's a calibration value and doesn't have any meaning beyond that. It's only comparable betwee

Re: Newer laptops & CPU speed

2005-03-20 Thread Joerg Sommer
Jochen Voss <[EMAIL PROTECTED]> wrote: > On Sat, Mar 19, 2005 at 10:29:28PM +, Joerg Sommer wrote: >> Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: >> > On Mon, 2005-03-14 at 16:01 +, Jochen Voss wrote: >> > >> >> From other people's posts I conclude that bogomips should approximately >

Re: Newer laptops & CPU speed

2005-03-19 Thread Jochen Voss
Hello Joerg, On Sat, Mar 19, 2005 at 10:29:28PM +, Joerg Sommer wrote: > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > On Mon, 2005-03-14 at 16:01 +, Jochen Voss wrote: > > > >> From other people's posts I conclude that bogomips should approximately > >> equal clock? > > > > It dep

Re: Newer laptops & CPU speed

2005-03-19 Thread Joerg Sommer
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Mon, 2005-03-14 at 16:01 +, Jochen Voss wrote: > >> From other people's posts I conclude that bogomips should approximately >> equal clock? > > It depends on the CPU, but on a 7447A, yes. Do you know why it is for i386 nearly the double of

Re: Newer laptops & CPU speed

2005-03-18 Thread Jochen Voss
Hello again, On Fri, Mar 18, 2005 at 06:22:30PM +, Jochen Voss wrote: > The part I disabled is really simple, now. The commands are > for switching to high speed: > > pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x05); > msleep(1); > low_choose_7447a_dfs(0); I

Re: Newer laptops & CPU speed

2005-03-18 Thread Jochen Voss
Hello again, Ben! you suggested the following change: On Mon, Mar 14, 2005 at 01:33:42PM +1100, Benjamin Herrenschmidt wrote: > - /* Check for 7447A based iBook G4 or PowerBook */ > - if (machine_is_compatible("PowerBook6,5") || > - machine_is_compatible("PowerBook6,4") || > -

Re: Newer laptops & CPU speed

2005-03-18 Thread Jochen Voss
Hello Ben, On Tue, Mar 15, 2005 at 10:45:12AM +, Jochen Voss wrote: > Can I do something else to help tracking this down? I am currently in the process of figuring out how your patch crashes my machine. Since I know of no better strategy I am applying the patch piecemeal and boot with each v

Re: Newer laptops & CPU speed

2005-03-18 Thread Jochen Voss
Hi Ben, On Mon, Mar 14, 2005 at 01:33:42PM +1100, Benjamin Herrenschmidt wrote: > + /* Look for voltage GPIO */ > volt_gpio_np = of_find_node_by_name(NULL, "cpu-vcore-select"); > + reg = (u32 *)get_property(volt_gpio_np, "reg", NULL); > + voltage_gpio = *reg; > if (!volt_gp

Re: Newer laptops & CPU speed

2005-03-15 Thread Joerg Dorchain
On Wed, Mar 16, 2005 at 10:35:35AM +1100, Benjamin Herrenschmidt wrote: > > My ibook G4 boots at low speed. /proc/cpuinfo shows 666MHz and a smiliar > > bogomips value. Nevertheless, the cpu frequency scaler works, i.e. set > > it to performance to be at high speed after boot up, or, as I currently

Re: Newer laptops & CPU speed

2005-03-15 Thread Benjamin Herrenschmidt
> My ibook G4 boots at low speed. /proc/cpuinfo shows 666MHz and a smiliar > bogomips value. Nevertheless, the cpu frequency scaler works, i.e. set > it to performance to be at high speed after boot up, or, as I currently > do, use the userspace governor and powernowd. All this is without your > p

Re: Newer laptops & CPU speed

2005-03-15 Thread Joerg Dorchain
On Mon, Mar 14, 2005 at 01:33:42PM +1100, Benjamin Herrenschmidt wrote: > It seems the new laptops are booting with CPU set to low > speed. /proc/cpuinfo outputs the wrong fequency (thinks it's high speed) > but bogomips shows that it's running at about half speed. This patch > against 2.6.11 (will

Re: Newer laptops & CPU speed

2005-03-15 Thread Jochen Voss
Hello Ben, On Tue, Mar 15, 2005 at 10:01:04AM +1100, Benjamin Herrenschmidt wrote: > On Mon, 2005-03-14 at 16:01 +, Jochen Voss wrote: > > The last displayed messages are > > > > openpic: external > > openpic: spurious > > openpic: exit > > > > With these messages on the screen the

Re: Newer laptops & CPU speed

2005-03-14 Thread Benjamin Herrenschmidt
On Mon, 2005-03-14 at 16:01 +, Jochen Voss wrote: > From other people's posts I conclude that bogomips should approximately > equal clock? It depends on the CPU, but on a 7447A, yes. > On Mon, Mar 14, 2005 at 01:33:42PM +1100, Benjamin Herrenschmidt wrote: > > This is completely untested as

Re: Newer laptops & CPU speed

2005-03-14 Thread Jochen Voss
Hi Ben, I seem to be suffering from this issue: [EMAIL PROTECTED] [~] cat /proc/cpuinfo processor : 0 cpu : 7447A, altivec supported clock : 1666MHz revision: 1.2 (pvr 8003 0102) bogomips: 829.44 machine : PowerBook5

Re: Newer laptops & CPU speed

2005-03-14 Thread Jack Malmostoso
Ciao Benjamin Herrenschmidt, nel tuo messaggio dicevi: > Yes. Some machines boot high speed, some boot low-speed, depending on > the mood of apple engineers at the time. Must be hard to work under Steve Jobs then :D > Your model boots high speed, so > be happy :) I will! And thanks for the sug

Re: Newer laptops & CPU speed

2005-03-14 Thread Benjamin Herrenschmidt
On Mon, 2005-03-14 at 12:26 +0100, Jack Malmostoso wrote: > Ciao Benjamin Herrenschmidt, nel tuo messaggio dicevi: > > > It seems the new laptops are booting with CPU set to low > > speed. /proc/cpuinfo outputs the wrong fequency (thinks it's high speed) > > but bogomips shows that it's running at

[John Steele Scott] Re: Newer laptops & CPU speed

2005-03-14 Thread John Steele Scott
Sorry, I meant to send this to the list, not just to Jack. Start of forwarded message To: Jack Malmostoso <[EMAIL PROTECTED]> Subject: Re: Newer laptops & CPU speed X-Draft-From: ("gmane.linux.debian.ports.powerpc" 26702) Reference

Re: Newer laptops & CPU speed

2005-03-14 Thread Jack Malmostoso
Ciao Benjamin Herrenschmidt, nel tuo messaggio dicevi: > It seems the new laptops are booting with CPU set to low > speed. /proc/cpuinfo outputs the wrong fequency (thinks it's high speed) > but bogomips shows that it's running at about half speed. Mmmmhhh I don't know if I am lucky or if I have

Re: Newer laptops & CPU speed

2005-03-14 Thread Benjamin Herrenschmidt
On Sun, 2005-03-13 at 19:10 -0800, Paul J. Lucas wrote: > On Mon, 14 Mar 2005, Benjamin Herrenschmidt wrote: > > > + * - All new machines with 7447A CPUs > > Doesn't the Mac Mini also have this CPU? If so, does this mean > that the CPU in the Mini is running slow? It seems to be bo

Re: Newer laptops & CPU speed

2005-03-14 Thread Benjamin Herrenschmidt
> Ok, patch applied and tested, at least for me works!, cpu is detected > correctly at boot time and then cpufreq works, send you a small piece of > dmesg and the corresponding cpuinfo, hope this helps. > > I use 'powernowd' as userspace governor. > > I would like to mention that I applied the p

Re: Newer laptops & CPU speed

2005-03-14 Thread Antonio-M. Corbi Bellot
El lun, 14-03-2005 a las 20:09 +1100, Benjamin Herrenschmidt escribió: > > > > BTW, have you any news in the trackpad / sound fields of these new > > laptops ;). I remember someone (probably you) comenting on the list > > about playing with a friends new-laptot and thinking in a not very hard > >

Re: Newer laptops & CPU speed

2005-03-13 Thread Paul J. Lucas
On Mon, 14 Mar 2005, Benjamin Herrenschmidt wrote: + * - All new machines with 7447A CPUs Doesn't the Mac Mini also have this CPU? If so, does this mean that the CPU in the Mini is running slow? - Paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscrib

Newer laptops & CPU speed

2005-03-13 Thread Benjamin Herrenschmidt
Hi ! It seems the new laptops are booting with CPU set to low speed. /proc/cpuinfo outputs the wrong fequency (thinks it's high speed) but bogomips shows that it's running at about half speed. This patch against 2.6.11 (will not apply on 2.6.10) adds proper cpufreq support so that the boot speed i