ARM: kvm: replace open coded VA->PA calculations with adr_l call
authorArd Biesheuvel <ardb@kernel.org>
Mon, 14 Sep 2020 08:25:52 +0000 (11:25 +0300)
committerPhil Elwell <phil@raspberrypi.com>
Thu, 28 Oct 2021 11:20:34 +0000 (12:20 +0100)
commit462a5e2a994c6bce92f956f076a11ea546b9bc82
tree26b0f4e29f8677d9706311e9d79cd08a86565f4d
parentf6d9b869bc77c7780edbd600d12de988f9ea3e6d
ARM: kvm: replace open coded VA->PA calculations with adr_l call

commit aaac3733171fca948c4fb66b78257620e3885339 upstream.

Replace the open coded calculations of the actual physical address
of the KVM stub vector table with a single adr_l invocation.

Reviewed-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/boot/compressed/head.S
arch/arm/kernel/hyp-stub.S