Fix book3s-pr KVM with preemption
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: PPC: Book3s: PR: Disable preemption in vcpu_runarch/ | +7 | 3 replies | |
| 2/4 | KVM: PPC: Book3s: PR: No irq_disable in vcpu_runarch/ | +0 | 0 replies | |
| 3/4 | KVM: PPC: Use get/set for to_svcpu to help preemptionarch/ arch/ arch/ +5 more | +181 | 0 replies | |
| 4/4 | KVM: PPC: align vcpu_kick with x86arch/ | +6 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Fix book3s-pr KVM with preemption
So far we got away with not implementing preemption properly. However, recently users emerged who wanted to run PREEMPT_xxx kernels, running into issues with KVM on there.
This patch set fixes all preempt issues I've found so far with Book3S PR KVM.
Alexander Graf (4):
KVM: PPC: Book3s: PR: Disable preemption in vcpu_run
KVM: PPC: Book3s: PR: No irq_disable in vcpu_run
KVM: PPC: Use get/set for to_svcpu to help preemption
KVM: PPC: align vcpu_kick with x86
arch/powerpc/include/asm/kvm_book3s.h | 76 +++++++++++++++++++++++------- arch/powerpc/include/asm/kvm_book3s_32.h | 6 ++- arch/powerpc/include/asm/kvm_book3s_64.h | 8 +++- arch/powerpc/kvm/book3s_32_mmu_host.c | 21 ++++++-- arch/powerpc/kvm/book3s_64_mmu_host.c | 66 +++++++++++++++++--------- arch/powerpc/kvm/book3s_emulate.c | 8 ++- arch/powerpc/kvm/book3s_pr.c | 71 +++++++++++++++++++--------- arch/powerpc/kvm/powerpc.c | 7 ++- arch/powerpc/kvm/trace.h | 5 ++- 9 files changed, 194 insertions(+), 74 deletions(-)