Skip to content

Fix doorbell emulation for nested KVM guests in V1 API

Gautam Menghani kvm linuxppc-dev lkml 1 version Applied

Status from this message: Applied to powerpc/topic/ppc-kvm.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3Revert "KVM: PPC: Book3S HV Nested: Stop forwarding all HFUs to L1"arch/powerpc/kvm/book3s_hv.c+2 -290 replies
2/3KVM: PPC: Book3S HV: Stop using vc->dpdes for nested KVM guestsarch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_hv_nested.c+19 -40 replies
3/3KVM: PPC: Book3S HV: Avoid returning to nested hypervisor on pending doorbellsarch/powerpc/kvm/book3s_hv.c+0 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchNicholas Piggin
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix doorbell emulation for nested KVM guests in V1 API

Doorbell emulation for nested KVM guests in V1 API is broken because of 2 reasons:
1. L0 presenting H_EMUL_ASSIST to L1 instead of H_FAC_UNAVAIL
2. Broken plumbing for passing around doorbell state.

Fix the trap passed to L1 and the plumbing for maintaining doorbell state.

Gautam Menghani (3):
Revert "KVM: PPC: Book3S HV Nested: Stop forwarding all HFUs to L1"
KVM: PPC: Book3S HV: Stop using vc->dpdes for nested KVM guests
KVM: PPC: Book3S HV: Avoid returning to nested hypervisor on pending
doorbells

 arch/powerpc/kvm/book3s_hv.c        | 41 ++++++++---------------------
 arch/powerpc/kvm/book3s_hv_nested.c | 14 +++++++---
 2 files changed, 21 insertions(+), 34 deletions(-)
Signature · 1 line
2.45.2