Commit 68b824e4 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: Patch kimage_voffset instead of loading the EL1 value



Directly using the kimage_voffset variable is fine for now, but
will become more problematic as we start distrusting EL1.

Instead, patch the kimage_voffset into the HYP text, ensuring
we don't have to load an untrusted value later on.

Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent 7cd0aaaf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment