[PATCH 0/2] x86/tsc: Update tsc crystal_khz whitelist

From: Prarit Bhargava
Date: Thu Sep 15 2016 - 11:04:46 EST


native_calibrate_tsc() contains a whitelist of models that have a known
TSC frequency that differs from the CPU frequency. This patchset
switches the code from using magic numbers to using the defines in
asm/intel-family.h and adds new processors to the whitelist.

Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: x86@xxxxxxxxxx
Cc: Rafael Aquini <aquini@xxxxxxxxxx>
Cc: "Peter Zijlstra (Intel)" <peterz@xxxxxxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxx>
Cc: Len Brown <len.brown@xxxxxxxxx>
Cc: lenb@xxxxxxxxxx

Prarit Bhargava (2):
x86,tsc: Use cpu id defines from intel-family.h
x86/tsc: Add additional Intel CPU models to crystal_khz whitelist

arch/x86/kernel/tsc.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

--
1.7.9.3