2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/tools/power/cpupower/utils/helpers
Thomas Renninger 7c74d2bc5a cpupower: Better detect offlined CPUs
Before, checking for offlined CPUs was done dirty and
it was checked whether topology parsing returned -1 values.
But this is a valid case on a Xen (and possibly other) kernels.

Do proper online/offline checking, also take CONFIG_HOTPLUG_CPU
option into account (no /sys/devices/../cpuX/online file).

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2011-08-15 20:03:10 +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 cpupowerutils - cpufrequtils extended with quite some features 2011-07-29 18:35:36 +02:00
cpuid.c cpupower: Do detect IDA (opportunistic processor performance) via cpuid 2011-07-29 19:37:27 +02:00
helpers.h cpupower: Better detect offlined CPUs 2011-08-15 20:03:10 +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 cpupower: Better detect offlined CPUs 2011-08-15 20:03:10 +02:00
sysfs.h cpupower: Better detect offlined CPUs 2011-08-15 20:03:10 +02:00
topology.c cpupower: Better detect offlined CPUs 2011-08-15 20:03:10 +02:00