summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2024-06-20 19:46:44 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-06-20 22:02:40 +0300
commit2e3cf82063a00ea0629e03e223c7c6ba58718f12 (patch)
tree4cd1fca3bf1eec10415b8682378ccae1a660ce02 /scripts/generate_rust_analyzer.py
parent9092aca9fe9aa986b573355affdd190710a906c0 (diff)
downloadlinux-2e3cf82063a00ea0629e03e223c7c6ba58718f12.tar.xz
KVM: arm64: nv: Ensure correct VL is loaded before saving SVE state
It is possible that the guest hypervisor has selected a smaller VL than the maximum for its nested guest. As such, ZCR_EL2 may be configured for a different VL when exiting a nested guest. Set ZCR_EL2 (via the EL1 alias) to the maximum VL for the VM before saving SVE state as the SVE save area is dimensioned by the max VL. Reviewed-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20240620164653.1130714-8-oliver.upton@linux.dev Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions