From: Len Brown Date: Fri, 2 Dec 2016 04:10:39 +0000 (-0500) Subject: tools/power turbostat: Denverton uses a 25 MHz crystal, not 19.2 MHz X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7268d407ad4c49fbd521fb2e2f675a447bfef472;p=linux-beck.git tools/power turbostat: Denverton uses a 25 MHz crystal, not 19.2 MHz 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 --- diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index cfdb574ea302..3708386531f2 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -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: