]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/hyperv: use helpers to read control registers in hv_snp_boot_ap()
authorYosry Ahmed <yosryahmed@google.com>
Mon, 5 Aug 2024 20:12:47 +0000 (20:12 +0000)
committerWei Liu <wei.liu@kernel.org>
Fri, 23 Aug 2024 22:26:20 +0000 (22:26 +0000)
commit0b5530861eec1cf3f240a6a4a0ceed58f67fbcc5
tree40abb1963e34f103e3a144d6f35113d77b4f9571
parent87c9741a38c4fa63ff3525c3191fb8a4a69b4ff6
x86/hyperv: use helpers to read control registers in hv_snp_boot_ap()

Use native_read_cr*() helpers to read control registers into vmsa->cr*
instead of open-coded assembly.

No functional change intended, unless there was a purpose to specifying
rax.

Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Link: https://lore.kernel.org/r/20240805201247.427982-1-yosryahmed@google.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20240805201247.427982-1-yosryahmed@google.com>
arch/x86/hyperv/ivm.c