linux/tools/power/cpupower/utils/helpers
Thomas Renninger 029e9f7366 cpupower: Do detect IDA (opportunistic processor performance) via cpuid
IA32-Intel Devel guide Volume 3A - 14.3.2.1
-------------------------------------------
...
Opportunistic processor performance operation can be disabled by setting bit 38 of
IA32_MISC_ENABLES. This mechanism is intended for BIOS only. If
IA32_MISC_ENABLES[38] is set, CPUID.06H:EAX[1] will return 0.

Better detect things via cpuid, this cleans up the code a bit
and the MSR parts were not working correctly anyway.

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: lenb@kernel.org
CC: linux@dominikbrodowski.net
CC: cpufreq@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2011-07-29 19:37:27 +02:00
..
amd.c cpupowerutils: helpers - ConfigStyle bugfixes 2011-07-29 18:35:39 +02:00
bitmask.c cpupowerutils: helpers - ConfigStyle bugfixes 2011-07-29 18:35:39 +02:00
bitmask.h
cpuid.c cpupower: Do detect IDA (opportunistic processor performance) via cpuid 2011-07-29 19:37:27 +02:00
helpers.h cpupower: Do detect IDA (opportunistic processor performance) via cpuid 2011-07-29 19:37:27 +02:00
misc.c cpupower: Do detect IDA (opportunistic processor performance) via cpuid 2011-07-29 19:37:27 +02:00
msr.c cpupower: Do detect IDA (opportunistic processor performance) via cpuid 2011-07-29 19:37:27 +02:00
pci.c cpupowerutils: helpers - ConfigStyle bugfixes 2011-07-29 18:35:39 +02:00
sysfs.c cpupowerutils: helpers - ConfigStyle bugfixes 2011-07-29 18:35:39 +02:00
sysfs.h cpupowerutils: helpers - ConfigStyle bugfixes 2011-07-29 18:35:39 +02:00
topology.c cpupowerutils: helpers - ConfigStyle bugfixes 2011-07-29 18:35:39 +02:00