diff options
author | Anirudh Rayabharam <anrayabh@linux.microsoft.com> | 2022-10-27 12:57:29 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2022-11-03 18:50:28 +0300 |
commit | 2982635a0b3d08d6fee2ff05632206286df0e703 (patch) | |
tree | ab5ae06bb3699d30a9e46953ec5fa9db45404cdd /MAINTAINERS | |
parent | 4ad1aa571214e8d6468a1806794d987b374b5a08 (diff) | |
download | linux-2982635a0b3d08d6fee2ff05632206286df0e703.tar.xz |
x86/hyperv: fix invalid writes to MSRs during root partition kexec
hyperv_cleanup resets the hypercall page by setting the MSR to 0. However,
the root partition is not allowed to write to the GPA bits of the MSR.
Instead, it uses the hypercall page provided by the MSR. Similar is the
case with the reference TSC MSR.
Clear only the enable bit instead of zeroing the entire MSR to make
the code valid for root partition too.
Signed-off-by: Anirudh Rayabharam <anrayabh@linux.microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20221027095729.1676394-3-anrayabh@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions