diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2024-06-20 18:46:43 +0200 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-06-20 21:02:40 +0200 |
commit | 9092aca9fe9aa986b573355affdd190710a906c0 (patch) | |
tree | 0f422804d9b69c205edbb8f211b35fe6caf77bb6 /arch/loongarch/net | |
parent | KVM: arm64: nv: Save guest's ZCR_EL2 when in hyp context (diff) | |
download | linux-9092aca9fe9aa986b573355affdd190710a906c0.tar.xz linux-9092aca9fe9aa986b573355affdd190710a906c0.zip |
KVM: arm64: nv: Use guest hypervisor's max VL when running nested guest
The max VL for nested guests is additionally constrained by the max VL
selected by the guest hypervisor. Use that instead of KVM's max VL when
running a nested guest.
Note that the guest hypervisor's ZCR_EL2 is sanitised against the VM's
max VL at the time of access, so there's no additional handling required
at the time of use.
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240620164653.1130714-7-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/loongarch/net')
0 files changed, 0 insertions, 0 deletions