Re: MSI K8N Neo + powernow-k8: ACPI info is worse than BIOS PST

From: Randall Nortman
Date: Mon Aug 02 2004 - 06:48:19 EST


On Mon, Aug 02, 2004 at 03:07:01AM -0700, Tony Lindgren wrote:
> * Randall Nortman <linuxkernellist@xxxxxxxxxxxxxxx> [040731 07:01]:
> >
> > If anybody qualified to hack this code is interested in creating a
> > real workaround for BIOSes like this, I offer my system (and my time,
> > as I cannot give remote access) for testing. I would suggest adding a
> > compile-time or load-time option to prefer the BIOS over ACPI (as in
> > powernow-k7, I think), and maybe a compile-time option to use Tony's
> > hardcoded tables.
>
> Just to clarify a bit, my patch only uses the 800MHz hardcoded, which
> should work on all AMD64 processors. The max value used is the current
> running value.


Actually, thanks to an off-list response from Anton Ertl (anton at
mips dot complang dot tuwien dot ac dot at), I have made an important
discovery that's relevant to my situation and your patch: newer amd64
cores (Newcastle cores) cannot clock down to 800MHz! I apparently am
lucky enough to have gotten the CG stepping of my CPU, which supports
1000, 1800, and 2000MHz modes, exactly as reported by the BIOS. I
have therefore backed out your patch, and the result is that my system
is actually snappier. (I suspect that really weird things were
happening when cpufreq tried to clock down to 800MHz; I was getting
high CPU load, periodic temporary freezes, and audio glitches, all of
which went away when I set the minimum clock to 1000MHz. I hope I
didn't do any permanent damage.) These new cores actually consume
less power at 1000MHz than the old ones did at 800MHz, so it's a
win-win for the lucky ones like me.

Now that I see that my BIOS table was correct after all, I'm left
wondering why MSI would have gotten that right but the ACPI wrong,
since Windows uses the ACPI information afaik. And that leads me to
suspect that perhaps the bug is in the powernow-k8 ACPI code rather
than my firmware. Any thoughts?

Randall Nortman
-
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/