help with 7447A dynamic frequency scaling support

From: John Steele Scott
Date: Wed May 26 2004 - 03:34:24 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have been trying to add cpufreq support to the ppc 7447A chip for my iBook
G4. This entails flipping the DFS bit in HID1 to enable/disable dynamic
frequency scaling (which divides the CPU clock speed by 2).

When I first tried this, it looked like it worked to some extent, but then the
system would lock-up under load soon after switching frequency. One thing I
noticed was that it appears that when the system boots, the DFS bit is set,
i.e. the CPU is only running at half-speed on boot.

So I started again from a fresh set of sources, and this time tried to just
clear the DFS bit so that the system would boot with the CPU at full speed.
However, now the system locks up when it gets to "INIT: version 2.84
booting".

Can anyone suggest why this might occur? I have looked at other cpu-specific
areas of the ppc code, but nothing seems relevant to my situation. I am new
to kernel hacking, but maybe someone with experience has seen this kind of
thing before.

cheers,

John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Messages with missing or bad signatures may have been forged or modified in transit!

iD8DBQFAtFRr0BW7kPcXjRURAmG8AJwMmJ1/pL7dDLr/ZH+SWi4imd02+ACeNj/I
ZC76rlRIpFdiOl2jaSxG6kg=
=/IeW
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/