Skip to content

x86/tsc: Clean up legacy code for Intel MID

Andy Shevchenko lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/cpu: Introduce INTEL_CPU_FAM*() helper macrosarch/x86/include/asm/intel-family.h+13 -00 replies
2/6x86/tsc: Convert to use x86_match_cpu() and INTEL_CPU_FAM6()arch/x86/kernel/tsc_msr.c+42 -410 replies
3/6x86/tsc: Add missed header to tsc_msr.carch/x86/kernel/tsc_msr.c+1 -00 replies
4/6x86/tsc: Use SPDX identifier and update Intel copyrightarch/x86/kernel/tsc_msr.c+3 -40 replies
5/6x86/platform/intel-mid: Remove custom TSC calibrationarch/x86/include/asm/intel-mid.h arch/x86/kernel/tsc_msr.c arch/x86/platform/intel-mid/intel-mid.c +2 more+5 -1300 replies
6/6x86/platform/intel-mid: Remove per platform codearch/x86/include/asm/intel-mid.h arch/x86/platform/intel-mid/Makefile arch/x86/platform/intel-mid/intel-mid.c +3 more+2 -1290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/6] x86/tsc: Clean up legacy code for Intel MID

As Thomas noticed there is unusual initialization is going on on Intel MID platforms when TSC is being calibrated.

It appears that we have tsc_msr.c to support Intel MID in a more generic way.

So, this patch series removes legacy calibration code and does accompanying clean ups.

Has been tested on Intel Medfield and Intel Merrifield platforms.

Andy Shevchenko (6):
x86/cpu: Introduce INTEL_CPU_FAM*() helper macros x86/tsc: Convert to use x86_match_cpu() and INTEL_CPU_FAM6() x86/tsc: Add missed header to tsc_msr.c
x86/tsc: Use SPDX identifier and update Intel copyright x86/platform/intel-mid: Remove custom TSC calibration x86/platform/intel-mid: Remove per platform code

 arch/x86/include/asm/intel-family.h           |  13 +++
 arch/x86/include/asm/intel-mid.h              |  43 -------
 arch/x86/kernel/tsc_msr.c                     |  96 ++++++++--------
 arch/x86/platform/intel-mid/Makefile          |   2 +-
 arch/x86/platform/intel-mid/intel-mid.c       |  23 +---
 .../platform/intel-mid/intel_mid_weak_decls.h |  18 ---
 arch/x86/platform/intel-mid/mfld.c            |  70 ------------
 arch/x86/platform/intel-mid/mrfld.c           | 105 ------------------
 8 files changed, 66 insertions(+), 304 deletions(-)
 delete mode 100644 arch/x86/platform/intel-mid/intel_mid_weak_decls.h
 delete mode 100644 arch/x86/platform/intel-mid/mfld.c
 delete mode 100644 arch/x86/platform/intel-mid/mrfld.c
Signature · 1 line
2.18.0