[PATCH] KVM: arm64: Ensure that all nVHE hyp code is in .hyp.text
Marc Zyngier
maz at kernel.org
Thu Jul 30 09:52:09 EDT 2020
On Thu, 30 Jul 2020 14:25:19 +0100, David Brazdil wrote:
> Some compilers may put a subset of generated functions into '.text.*'
> ELF sections and the linker may leverage this division to optimize ELF
> layout. Unfortunately, the recently introduced HYPCOPY command assumes
> that all executable code (with the exception of specialized sections
> such as '.hyp.idmap.text') is in the '.text' section. If this
> assumption is broken, code in '.text.*' will be merged into kernel
> proper '.text' instead of the '.hyp.text' that is mapped in EL2.
>
> [...]
Applied to kvm-arm64/el2-obj-v4.1, thanks!
[1/1] KVM: arm64: Ensure that all nVHE hyp code is in .hyp.text
commit: bdbc0c7a070c0cbe3009cd271c6ec8d87d69cc7a
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list