Re: kapmidled and AMD K6-2

From: Dave Jones (
Date: Tue Oct 09 2001 - 10:45:50 EST

On Tue, 9 Oct 2001 wrote:

> for the AMD K6-2 on a DFI motherboard AT/ATX, using the AT power supply,
> this option is buggy. I mean the cycles kapmidled works doesn't cool the
> processor, they hot him.

Initially, I thought was odd. The spec seemed straight forward
enough, and doesn't say we have to do any special magic.
Just that "During the execution of the HLT instruction, the AMD-K6-2
processor executes a Halt special cycle."

The next bit is interesting however..

"After BRDY# is sampled asserted during this cycle, and then EWBE#
is also sampled asserted (if not masked off), the processor enters
the halt state in which the processor disables most of its internal
clock distribution."

EWBE is a feature that is enabled with bits 2-3 of the EFER MSR.
This controls the behaviour of the CPU with respect to ordering
of write cycles. Behaviour here can affect performance, and from
my interpretation of the above, the amount of power saving that
is possible.

You can control the EWBE register using powertweak
(, but if you don't want to/are unable
to build that, and want to do some further tests, let me know
and I'll hack something up.

If this feature is affecting temperature dramatically, it may
be worth us clearing this on boot up.

I've heard reports from Athlon users who also say HLT doesn't
do anything regarding temperature for their systems. I wonder
if it also has a similar feature tucked away in an MSR somewhere..



| Dave Jones.
| SuSE Labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:25 EST