KVM: arm64: Fixes for NV+SVE
Status from this message: Applied to fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: nv: Don't treat ZCR_EL2 as a 'mapped' registerarch/ | +2 | 0 replies | |
| 2/2 | KVM: arm64: nv: Don't advance PC when pending an SVE exceptionarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] KVM: arm64: Fixes for NV+SVE
After staring at the ZCR_EL2 handling for the issue Jan reported I also spotted an ugly preemption bug because ZCR_EL2 residence is *very* different from the other sysregs.
We could definitely get away with loading ZCR_ELx on the CPU at vcpu_load() but I'd rather not given the amount of special treatment that we need to do for it already.
In addition to that, I've taken the liberty of forging Marc's authorship and SOB on the SVE exception fix, figured he wont mind :-)
Applies to kvmarm-6.18, tested with QEMU-TCG (only implementation >128 bit) with L0: VL=512, L1: VL=256, and L2: VL=128.
Marc Zyngier (1):
KVM: arm64: nv: Don't advance PC when pending an SVE exception
Oliver Upton (1):
KVM: arm64: nv: Don't treat ZCR_EL2 as a 'mapped' register
arch/arm64/kvm/sys_regs.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
base-commit: 10fd0285305d0b48e8a3bf15d4f17fc4f3d68cb6
Signature · 1 line
2.39.5