> 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
(http://www.powertweak.org), 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..
regards,
Dave.
-- | Dave Jones. http://www.suse.de/~davej | SuSE Labs- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/