[CPUFREQ] powernow-k6: set transition latency value so ondemand governor can be used
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Sun, 25 Oct 2009 18:45:57 +0000 (19:45 +0100)
committerDave Jones <davej@redhat.com>
Tue, 24 Nov 2009 18:33:33 +0000 (13:33 -0500)
commitdb2820dd5445a44b4726f15a2bc89b9ded2503eb
treed33d14e54b6cd9d0f2931a34667dd534025bdd58
parentb8cbe7e82ec8b55d7bbdde66fc69e788fde00dc6
[CPUFREQ] powernow-k6: set transition latency value so ondemand governor can be used

Set the transition latency to value smaller than CPUFREQ_ETERNAL so
governors other than "performance" work (like the "ondemand" one).

The value is found in "AMD PowerNow! Technology Platform Design Guide for
Embedded Processors" dated December 2000 (AMD doc #24267A). There is the
answer to one of FAQs on page 40 which states that suggested complete transition
period is 200 us.

Tested on K6-2+ CPU with K6-3 core (model 13, stepping 4).

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/powernow-k6.c