tools/power turbostat: Denverton uses a 25 MHz crystal, not 19.2 MHz
authorLen Brown <len.brown@intel.com>
Fri, 2 Dec 2016 04:10:39 +0000 (23:10 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 2 Dec 2016 04:18:26 +0000 (23:18 -0500)
This changes only the TSC frequency decoding line seen with --debug

old: TSC: 1382 MHz (19200000 Hz * 216 / 3 / 1000000)
new: TSC: 1800 MHz (25000000 Hz * 216 / 3 / 1000000)

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

index cfdb574ea302f34d239e0943f43287111a01e316..3708386531f2ebad56f08c6e0073a74380fb8b0e 100644 (file)
@@ -3315,10 +3315,10 @@ void process_cpuid()
                                        crystal_hz = 24000000;  /* 24.0 MHz */
                                        break;
                                case INTEL_FAM6_SKYLAKE_X:      /* SKX */
+                               case INTEL_FAM6_ATOM_DENVERTON: /* DNV */
                                        crystal_hz = 25000000;  /* 25.0 MHz */
                                        break;
                                case INTEL_FAM6_ATOM_GOLDMONT:  /* BXT */
-                               case INTEL_FAM6_ATOM_DENVERTON: /* DNV */
                                        crystal_hz = 19200000;  /* 19.2 MHz */
                                        break;
                                default: