All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix MSR access errors during kexec in root partition
@ 2022-10-27  9:57 Anirudh Rayabharam
  2022-10-27  9:57 ` [PATCH v2 1/2] clocksource/drivers/hyperv: add data structure for reference TSC MSR Anirudh Rayabharam
  2022-10-27  9:57 ` [PATCH v2 2/2] x86/hyperv: fix invalid writes to MSRs during root partition kexec Anirudh Rayabharam
  0 siblings, 2 replies; 10+ messages in thread
From: Anirudh Rayabharam @ 2022-10-27  9:57 UTC (permalink / raw)
  To: kys, haiyangz, sthemmin, wei.liu, decui, tglx, mingo, bp,
	dave.hansen, x86, hpa, daniel.lezcano, Arnd Bergmann,
	linux-hyperv, linux-kernel, linux-arch
  Cc: stanislav.kinsburskiy, Anirudh Rayabharam, kumarpraveen, mail

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-11-03 15:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27  9:57 [PATCH v2 0/2] Fix MSR access errors during kexec in root partition Anirudh Rayabharam
2022-10-27  9:57 ` [PATCH v2 1/2] clocksource/drivers/hyperv: add data structure for reference TSC MSR Anirudh Rayabharam
2022-10-27 13:42   ` Michael Kelley (LINUX)
2022-11-02 20:33     ` Michael Kelley (LINUX)
2022-11-03 14:24       ` Wei Liu
2022-11-03 15:30         ` Anirudh Rayabharam
2022-10-27  9:57 ` [PATCH v2 2/2] x86/hyperv: fix invalid writes to MSRs during root partition kexec Anirudh Rayabharam
2022-10-27 13:44   ` Michael Kelley (LINUX)
2022-10-27 19:16     ` Wei Liu
2022-10-28 12:34       ` Anirudh Rayabharam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.