linux/tools/power/cpupower/utils
Lucas Stach 06b230e3dd cpupower: fix breakage from libpci API change
libpci 3.3.0 introduced an additional member in the pci_filter struct
which needs to be initialized to -1 to get the same behavior as before
the API change. The libpci internal helpers got updated accordingly,
but as the cpupower pci helpers initialized the struct themselves the
behavior changed.

Use the libpci helper pci_filter_init() to fix this and guard against
similar breakages in the future.

This fixes probing of the AMD fam12h/14h cpuidle monitor on systems
with libpci >= 3.3.0.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-04-15 21:54:26 +02:00
..
helpers cpupower: fix breakage from libpci API change 2015-04-15 21:54:26 +02:00
idle_monitor cpupower: mperf monitor: Correct use of ! and & 2014-07-30 01:57:12 +02:00
builtin.h cpupower: Introduce idle-set subcommand and C-state enabling/disabling 2013-07-05 01:52:19 +02:00
cpufreq-info.c PM / tools: cpupower: add option to display values without round offs 2014-05-07 00:19:06 +02:00
cpufreq-set.c cpupower: Remove redundant error check 2014-07-30 01:57:13 +02:00
cpuidle-info.c Revert "tools: cpupower: fix return checks for sysfs_get_idlestate_count()" 2014-12-14 22:14:16 +01:00
cpuidle-set.c cpupower: Introduce idle state disable-by-latency and enable-all 2014-05-17 00:36:36 +02:00
cpupower-info.c cpupower: Remove mc and smt power aware scheduler info/settings 2014-05-17 00:36:37 +02:00
cpupower-set.c cpupower: Remove mc and smt power aware scheduler info/settings 2014-05-17 00:36:37 +02:00
cpupower.c tools / cpupower: Correctly detect if running as root 2014-12-19 23:01:03 +01:00
version-gen.sh cpupowerutils: use kernel version-derived version string 2011-07-29 18:35:39 +02:00