Skip to content

x86/tsc: fast calibration updates

Len Brown lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Revert "x86/tsc: Add missing Cherrytrail frequency to the table"arch/x86/kernel/tsc_msr.c+0 -30 replies
2/10x86 tsc_msr: Identify Intel-specific codearch/x86/kernel/tsc_msr.c+3 -00 replies
3/10x86 tsc_msr: Remove debugging messagesarch/x86/kernel/tsc_msr.c+3 -160 replies
4/10x86 tsc_msr: Update comments, expand definitionsarch/x86/kernel/tsc_msr.c+10 -260 replies
5/10x86 tsc_msr: Correct Silvermont reference clock valuesarch/x86/kernel/tsc_msr.c+3 -30 replies
6/10x86 tsc_msr: Add Airmont reference clock valuesarch/x86/kernel/tsc_msr.c+4 -10 replies
7/10x86 tsc_msr: Extend to include Intel Core Architecturearch/x86/kernel/tsc_msr.c+41 -80 replies
8/10x86 tsc_msr: Remove irqoff around MSR-based TSC enumerationarch/x86/include/asm/tsc.h arch/x86/kernel/tsc.c arch/x86/kernel/tsc_msr.c+3 -70 replies
9/10x86 tsc: enumerate SKL cpu_khz and tsc_khz via CPUIDarch/x86/include/asm/tsc.h arch/x86/include/asm/x86_init.h arch/x86/kernel/tsc.c +1 more+73 -80 replies
10/10x86 tsc: enumerate BXT tsc_khz via CPUIDarch/x86/kernel/tsc.c+15 -10 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas Gleixner
SeriesR-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/10] x86/tsc: fast calibration updates

Originally I wrote this series to increase TSC calibration accuracy and speed, but it now it also includes changes that are mandatory for some systems to work correctly. In particular, the Airmont table entires are already being used in products, and some BXT steppings will fail without the check added by patch 10.

LKP tested this patch series in early April on top of 4.6-rc1 and found a failure. That failure has been fixed upstream in 4.6 by commit 886123fb3a86
(x86/tsc: Read all ratio bits from MSR_PLATFORM_INFO)

So I have re-based the series on top of 4.7-rc3 to take advantage of that fix, as well as to handle 3 merge conflicts due to intervening upstream commits.

The series now starts by reverting e2724e9d9692 (x86/tsc: Add missing Cherrytrail frequency to the table) as that is replaced by the more correct and complete "x86 tsc_msr: Add Airmont reference clock values" in this series.

Also, syntax changes were necessary to both
"x86 tsc: enumerate SKL cpu_khz and tsc_khz via CPUID" "x86 tsc: enumerate BXT tsc_khz via CPUID"
in response to cleanups recently applied upstream to tsc.c

[PATCH 01/10] Revert "x86/tsc: Add missing Cherrytrail frequency to [PATCH 02/10] x86 tsc_msr: Identify Intel-specific code [PATCH 03/10] x86 tsc_msr: Remove debugging messages [PATCH 04/10] x86 tsc_msr: Update comments, expand definitions [PATCH 05/10] x86 tsc_msr: Correct Silvermont reference clock values [PATCH 06/10] x86 tsc_msr: Add Airmont reference clock values [PATCH 07/10] x86 tsc_msr: Extend to include Intel Core Architecture [PATCH 08/10] x86 tsc_msr: Remove irqoff around MSR-based TSC [PATCH 09/10] x86 tsc: enumerate SKL cpu_khz and tsc_khz via CPUID [PATCH 10/10] x86 tsc: enumerate BXT tsc_khz via CPUID