]> git.karo-electronics.de Git - linux-beck.git/commitdiff
tools/power turbostat: fix Denverton BCLK
authorXiaolong Wang <xiaolong.wang@linux.intel.com>
Fri, 30 Sep 2016 09:53:40 +0000 (17:53 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 1 Dec 2016 06:33:19 +0000 (01:33 -0500)
Add Denverton to the group of SandyBridge and later processors,
to let the bclk be recognized as 100MHz rather than 133MHz,
then avoid the wrong value of the frequencies based on it,
including Bzy_MHz, max efficiency freuency, base frequency,
and turbo mode frequencies.

Signed-off-by: Xiaolong Wang <xiaolong.wang@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 2056c148c684278bf40eb0f63a5ed31c188b3b1f..89c31e90a85e533fc46aca5f9163b307ebae04ae 100644 (file)
@@ -2938,6 +2938,7 @@ int has_snb_msrs(unsigned int family, unsigned int model)
        case INTEL_FAM6_KABYLAKE_DESKTOP:       /* KBL */
        case INTEL_FAM6_SKYLAKE_X:      /* SKX */
        case INTEL_FAM6_ATOM_GOLDMONT:  /* BXT */
+       case INTEL_FAM6_ATOM_DENVERTON: /* DNV */
                return 1;
        }
        return 0;