linux/tools/power/cpupower/utils/helpers
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
..
amd.c cpupower: Better interface for accessing AMD pci registers 2012-03-03 14:40:08 +01:00
bitmask.c
bitmask.h
cpuid.c cpupower: IvyBridge (0x3a and 0x3e models) support 2012-11-27 23:07:20 +01:00
helpers.h cpupower: Provide -c param for cpupower monitor to schedule process on all cores 2012-11-27 23:07:20 +01: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 cpupower: fix breakage from libpci API change 2015-04-15 21:54:26 +02:00
sysfs.c tools / cpupower: Fix no idle state information return value 2014-12-19 23:01:12 +01:00
sysfs.h cpupower: Implement disabling of cstate interface 2013-07-05 01:52:19 +02:00
topology.c cpupower tools: Fix warning and a bug with the cpu package count 2012-11-27 23:07:19 +01:00