[PATCH] KVM: arm64: Move __hyp_set_vectors out of .hyp.text

Will Deacon will at kernel.org
Thu Jan 28 16:07:20 EST 2021


On Thu, 28 Jan 2021 17:38:50 +0000, Quentin Perret wrote:
> The .hyp.text section is supposed to be reserved for the nVHE EL2 code.
> However, there is currently one occurrence of EL1 executing code located
> in .hyp.text when calling __hyp_{re}set_vectors(), which happen to sit
> next to the EL2 stub vectors. While not a problem yet, such patterns
> will cause issues when removing the host kernel from the TCB, so a
> cleaner split would be preferable.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] KVM: arm64: Move __hyp_set_vectors out of .hyp.text
      https://git.kernel.org/arm64/c/e30be1455bd3

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list