Skip to content

KVM: PPC: Book3S HV interrupt fixes

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6KVM: PPC: Book3S HV P9: Fix "lost kick" racearch/powerpc/kvm/book3s_hv.c+33 -81 reply
2/6KVM: PPC: Book3S HV P9: Inject pending xive interrupts at guest entryarch/powerpc/kvm/book3s_hv.c+7 -21 reply
3/6KVM: PPC: Book3S HV P9: Move cede logic out of XIVE escalation rearmingarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_xive.c+16 -72 replies
4/6KVM: PPC: Book3S HV P9: Split !nested case out from guest entryarch/powerpc/kvm/book3s_hv.c+13 -41 reply
5/6KVM: PPC: Book3S HV Nested: L2 must not run with L1 xive contextarch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_xive.c+21 -70 replies
6/6KVM: PPC: Book3S HV Nested: L2 LPCR should inherit L1 LPES settingarch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_hv_nested.c+5 -21 reply

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchFabiano RosasCédric Le Goater
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6
6/6R-b

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/6] KVM: PPC: Book3S HV interrupt fixes

This series fixes up a bunch of little interrupt issues which were found by inspection haven't seem to have caused big problems but possibly could or could cause the occasional latency spike from a temporarily lost interrupt.

The big thing is the xive context change. Currently we run an L2 with its L1's xive OS context pushed. I'm proposing that we instead treat that as an escalation similar to cede.

Thanks,
Nick

Nicholas Piggin (6):
KVM: PPC: Book3S HV P9: Fix "lost kick" race
KVM: PPC: Book3S HV P9: Inject pending xive interrupts at guest entry
KVM: PPC: Book3S HV P9: Move cede logic out of XIVE escalation
rearming
KVM: PPC: Book3S HV P9: Split !nested case out from guest entry
KVM: PPC: Book3S HV Nested: L2 must not run with L1 xive context
KVM: PPC: Book3S HV Nested: L2 LPCR should inherit L1 LPES setting

 arch/powerpc/include/asm/kvm_ppc.h  |  4 +-
 arch/powerpc/kvm/book3s_hv.c        | 97 ++++++++++++++++++++++++-----
 arch/powerpc/kvm/book3s_hv_nested.c |  3 +-
 arch/powerpc/kvm/book3s_xive.c      | 11 ++--
 4 files changed, 90 insertions(+), 25 deletions(-)
Signature · 1 line
2.23.0