KVM: arm64: nv: Fix nested IRQ exception storm on NV+GICv4
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: arm64: nv: Leave vPE nonresident in nested vgic statearch/ include/ | +19 | 0 replies | |
| 2/3 | KVM: arm64: Move host SVE/SME state flags out of vCPUarch/ arch/ | +22 | 0 replies | |
| 3/3 | KVM: arm64: nv: Request vPE doorbell upon nested ERET to L2arch/ arch/ arch/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] KVM: arm64: nv: Fix nested IRQ exception storm on NV+GICv4
Hi,
There's a rather annoying collision between nested virt and GICv4 that leads to a storm of nested excpetions taken to the L1, meaning the L2 can never get off the ground.
Here's a small series to address the immediate issue + ensure IRQs destined for the L1 aren't erroneously masked by running an L2.
Marc, I've deliberately based this on top of upstream rather than the NV series. I did this to avoid stacking more crap on top of the out of tree series. The fact we don't virtualize GICv4 for the L1 isn't really up for discussion right now, so taking that limitation ahead of full nested VGIC support seems OK.
Note that I spun off a small portion of the nested VGIC patch which avoids making the vPE resident in nested state to give the full picture of how the vPE is managed while nested.
Oliver Upton (3):
KVM: arm64: nv: Leave vPE nonresident in nested vgic state
KVM: arm64: Move host SVE/SME state flags out of vCPU
KVM: arm64: nv: Request vPE doorbell upon nested ERET to L2
arch/arm64/include/asm/kvm_host.h | 28 ++++++++++++++++++---------- arch/arm64/kvm/emulate-nested.c | 2 ++ arch/arm64/kvm/fpsimd.c | 12 ++++++------ arch/arm64/kvm/vgic/vgic-v3.c | 15 ++++++++++++++- arch/arm64/kvm/vgic/vgic-v4.c | 18 +++++++++++++++++- include/kvm/arm_vgic.h | 5 +++++ 6 files changed, 62 insertions(+), 18 deletions(-)
base-commit: 7c626ce4bae1ac14f60076d00eafe71af30450ba
Signature · 1 line
2.46.0.295.g3b9ea8a38a-goog