Skip to content

KVM: PPC: MOL bringup patches

Alexander Graf kvm kvm-ppc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 of 15 patches 10 repliesIn review

v1 -> v2 from the cover letter

- Add documentation for EXIT_OSI and ENABLE_CAP
- Add flags to enable_cap
- Add build fix for !CONFIG_VSX
- Remove in-paca register check

9 of 15 patches are in this archive. The cover letter announces 15.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15KVM: PPC: Ensure split mode worksarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s.c+29 -260 replies
3/15KVM: PPC: Make DSISR 32 bits widearch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/book3s_64_interrupts.S+3 -30 replies
5/15KVM: PPC: Split instruction reading outarch/powerpc/kvm/book3s.c+16 -80 replies
7/15KVM: PPC: Load VCPU for register fetchingarch/powerpc/kvm/book3s.c+8 -00 replies
8/15KVM: PPC: Implement mfsr emulationarch/powerpc/kvm/book3s_64_emulate.c+13 -00 replies
12/15KVM: PPC: Implement alignment interruptarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s.c arch/powerpc/kvm/book3s_64_emulate.c+50 -00 replies
13/15KVM: Add support for enabling capabilities per-vcpuDocumentation/kvm/api.txt arch/powerpc/kvm/powerpc.c include/linux/kvm.h+52 -03 replies
14/15KVM: PPC: Add OSI hypercall interfaceDocumentation/kvm/api.txt arch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_host.h +3 more+56 -66 replies
15/15KVM: PPC: Make build work without CONFIG_VSX/ALTIVECarch/powerpc/kvm/book3s.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] KVM: PPC: MOL bringup patches

Mac-on-Linux has always lacked PPC64 host support. This is going to change now!

This patchset contains minor patches to enable MOL, but is mostly about bug fixes that came out of running Mac OS X. With this set and a pretty small patch to MOL I have 10.4.11 running as a guest on a 970MP host.

I'll send the MOl patches to the respective ML in the next days.

v1 -> v2:

- Add documentation for EXIT_OSI and ENABLE_CAP
- Add flags to enable_cap
- Add build fix for !CONFIG_VSX
- Remove in-paca register check

Alexander Graf (15):
KVM: PPC: Ensure split mode works
KVM: PPC: Allow userspace to unset the IRQ line
KVM: PPC: Make DSISR 32 bits wide
KVM: PPC: Book3S_32 guest MMU fixes
KVM: PPC: Split instruction reading out
KVM: PPC: Don't reload FPU with invalid values
KVM: PPC: Load VCPU for register fetching
KVM: PPC: Implement mfsr emulation
KVM: PPC: Implement BAT reads
KVM: PPC: Make XER load 32 bit
KVM: PPC: Implement emulation for lbzux and lhax
KVM: PPC: Implement alignment interrupt
KVM: Add support for enabling capabilities per-vcpu
KVM: PPC: Add OSI hypercall interface
KVM: PPC: Make build work without CONFIG_VSX/ALTIVEC

 Documentation/kvm/api.txt               |   28 +++++++
 arch/powerpc/include/asm/kvm.h          |    3 +
 arch/powerpc/include/asm/kvm_book3s.h   |   18 +++-
 arch/powerpc/include/asm/kvm_host.h     |    4 +-
 arch/powerpc/include/asm/kvm_ppc.h      |    2 +
 arch/powerpc/kvm/book3s.c               |  130 ++++++++++++++++++++++---------
 arch/powerpc/kvm/book3s_32_mmu.c        |   30 ++++++--
 arch/powerpc/kvm/book3s_64_emulate.c    |   88 +++++++++++++++++++++
 arch/powerpc/kvm/book3s_64_interrupts.S |    2 +-
 arch/powerpc/kvm/book3s_64_slb.S        |    2 +-
 arch/powerpc/kvm/emulate.c              |   20 +++++
 arch/powerpc/kvm/powerpc.c              |   43 ++++++++++-
 include/linux/kvm.h                     |   17 ++++
 13 files changed, 335 insertions(+), 52 deletions(-)