[PATCH] arm64: kvm: avoid unnecessary absolute addressing via literals

Marc Zyngier maz at kernel.org
Fri May 6 03:15:49 PDT 2022


On Thu, 28 Apr 2022 16:03:50 +0200, Ard Biesheuvel wrote:
> There are a few cases in the nVHE code where we take the absolute
> address of a symbol via a literal pool entry, and subsequently translate
> it to another address space (PA, kimg VA, kernel linear VA, etc).
> Originally, this literal was needed because we relied on a different
> translation for absolute references, but this is no longer the case, so
> we can simply use relative addressing instead. This removes a couple of
> RELA entries pointing into the .text segment.

Applied to next, thanks!

[1/1] arm64: kvm: avoid unnecessary absolute addressing via literals
      commit: 7ee74cc7ad7ef526e4383a3a3294b7039622eb37

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list