[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221027095729.1676394-1-anrayabh@linux.microsoft.com>
Date: Thu, 27 Oct 2022 15:27:27 +0530
From: Anirudh Rayabharam <anrayabh@...ux.microsoft.com>
To: kys@...rosoft.com, haiyangz@...rosoft.com, sthemmin@...rosoft.com,
wei.liu@...nel.org, decui@...rosoft.com, tglx@...utronix.de,
mingo@...hat.com, bp@...en8.de, dave.hansen@...ux.intel.com,
x86@...nel.org, hpa@...or.com, daniel.lezcano@...aro.org,
Arnd Bergmann <arnd@...db.de>, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Cc: stanislav.kinsburskiy@...il.com,
Anirudh Rayabharam <anrayabh@...ux.microsoft.com>,
kumarpraveen@...ux.microsoft.com, mail@...rudhrb.com
Subject: [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(-)
--
2.34.1
Powered by blists - more mailing lists