Skip to content

Fix community TSC ADJUST breakage causing TSC failure

Mike Travis lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/platform/uv: Add is_early_uv_system checkarch/x86/include/asm/uv/uv.h+6 -03 replies
2/2x86/tsc: Fix UV TSC initializationarch/x86/kernel/setup.c+5 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRuss AndersonDimitri Sivanich
1/2R-b R-b
2/2R-b R-b

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/2] Fix community TSC ADJUST breakage causing TSC failure

Fix a breakage caused by enabling early tsc initialization which bypasses a check that disables the forcing of TSC ADJUST to 0 for chassis 0. This is common on systems where all the chassis start up asynchronously so which chassis should have a TSC ADJUST value of 0 is not predictable.

The solution is to add a check earlier than this early tsc init to disable the potential of it incorrectly adjusting TSC ADJUST values that are already correctly initialized.

* Patch 1 adds an early callable function (right after efi_init) that will check if this system might be a UV system.

* Patch 2 adds code into setup_arch() which disables the call to tsc_early_init. This function calls the TSC adjust initialization functions before UV setup has checked if BIOS has set the multi-chassis sync flags. Further references are in the patch.