diff options
author | Anirudh Rayabharam <[email protected]> | 2022-10-27 15:27:29 +0530 |
---|---|---|
committer | Wei Liu <[email protected]> | 2022-11-03 15:50:28 +0000 |
commit | 2982635a0b3d08d6fee2ff05632206286df0e703 (patch) | |
tree | ab5ae06bb3699d30a9e46953ec5fa9db45404cdd /drivers/usb/cdns3/cdns3-debug.h | |
parent | 4ad1aa571214e8d6468a1806794d987b374b5a08 (diff) |
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 <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions