Thomas, Arrgh ... Accidentally I had forwarded you some old bogus patch. Thus the device ID for family 15h is incorrect. The patch better should look like below patch. (It doesn't apply on your current tree, I guess, due to different directory names) Sorry for the hassle, Andreas From: Andreas Herrmann <andreas.herrmann3@xxxxxxx> libcpupower: libcpufreq: Provide CPB information for AMD CPU family 12h and 15h Signed-off-by: Andreas Herrmann <andreas.herrmann3@xxxxxxx> --- lib/amdpci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/amdpci.c b/lib/amdpci.c index 1463db3..41e4908 100644 --- a/lib/amdpci.c +++ b/lib/amdpci.c @@ -48,7 +48,7 @@ static void amd_pci_nb_fini(void) int amd_pci_get_num_boost_states(int *active, int *states) { uint8_t val; - int dev_ids[2] = {0x1204, 0}; + int dev_ids[2] = {0x1204, 0x1604, 0x1704, 0}; struct pci_dev *device; device = amd_pci_nb_init(dev_ids); @@ -60,7 +60,7 @@ int amd_pci_get_num_boost_states(int *active, int *states) *active = 1; else *active = 0; - *states = (val >> 2) & 1; + *states = (val >> 2) & 7; } amd_pci_nb_fini(); -- 1.7.4.rc3 -- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html