Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1486436

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

From Prarit Bhargava <prarit@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 0/2 v2] x86/tsc: Update tsc crystal_khz whitelist
Date 2016-09-19 15:00 +0200
Message-ID <sj6kW-5ze-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

v2: peterz, fixed typo in patch 0002.  There was some question if the value
was supposed to be 25000 or 24000.  Experimenting on an 0x55 processor shows
that 25000 is correct.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: Rafael Aquini <aquini@redhat.com>
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Len Brown <len.brown@intel.com>
Cc: lenb@kernel.org


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 0/2 v2] x86/tsc: Update tsc crystal_khz whitelist Prarit Bhargava <prarit@redhat.com> - 2016-09-19 15:00 +0200

csiph-web