Skip to content

Fix MSR access errors during kexec in root partition

Anirudh Rayabharam linux-arch linux-hyperv lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clocksource/drivers/hyperv: add data structure for reference TSC MSRdrivers/clocksource/hyperv_timer.c include/asm-generic/hyperv-tlfs.h+23 -144 replies
2/2x86/hyperv: fix invalid writes to MSRs during root partition kexecarch/x86/hyperv/hv_init.c+7 -43 replies

Reviews trailers per patch

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

PatchMichael Kelley
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix MSR access errors during kexec in root partition

Fixes a couple of MSR access errors seen during kexec in root partition and opportunistically introduces a data structure for the reference TSC MSR in order to simplify the code that updates that MSR.

New in v2:
1. Reverse the patch order as suggested by Michael. First introduce the new structure for reference tsc MSR and then use it in the hv_cleanup fix.
2. Use hv_{get,set}_register functions in hv_cleanup().

Anirudh Rayabharam (2):
clocksource/drivers/hyperv: add data structure for reference TSC MSR x86/hyperv: fix invalid writes to MSRs during root partition kexec

 arch/x86/hyperv/hv_init.c          | 11 +++++++----
 drivers/clocksource/hyperv_timer.c | 28 ++++++++++++++--------------
 include/asm-generic/hyperv-tlfs.h  |  9 +++++++++
 3 files changed, 30 insertions(+), 18 deletions(-)
Signature · 1 line
2.34.1