diff options
author | Marc Zyngier <maz@kernel.org> | 2020-10-24 16:33:38 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-27 11:32:43 +0000 |
commit | 68b824e428c5fb5c3dc5ef80b1543e767534b58e (patch) | |
tree | 93f0cc373bf871d0eddcdef77fc5ca0d8bb17c8c /arch/x86 | |
parent | 7cd0aaafaadcaaf280887f8b478393a9fcfc69e3 (diff) | |
download | linux-68b824e428c5fb5c3dc5ef80b1543e767534b58e.tar.bz2 |
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: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions