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)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 28 Oct 2020 16:05:40 +0000 (17:05 +0100)
commitaaac3733171fca948c4fb66b78257620e3885339
treecba1fd9caa5b3a57daa74f55dbb19072c677e29f
parent3bcf906b194cebb6817cbb2f07b69e12aa5d7f51
ARM: kvm: replace open coded VA->PA calculations with adr_l call

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