Skip to content

KVM: PPC: MOL bringup patches v3

Alexander Graf kvm kvm-ppc 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 of 21 patches 1 replyApplied

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

12 of 21 patches are in this archive. The cover letter announces 21.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/21KVM: PPC: Ensure split mode worksarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s.c+29 -260 replies
2/21KVM: PPC: Allow userspace to unset the IRQ linearch/powerpc/include/asm/kvm.h arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/book3s.c +2 more+17 -10 replies
3/21KVM: 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
4/21KVM: PPC: Book3S_32 guest MMU fixesarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s_32_mmu.c+24 -70 replies
6/21KVM: PPC: Don't reload FPU with invalid valuesarch/powerpc/kvm/book3s.c+5 -00 replies
7/21KVM: PPC: Load VCPU for register fetchingarch/powerpc/kvm/book3s.c+8 -00 replies
8/21KVM: PPC: Implement mfsr emulationarch/powerpc/kvm/book3s_64_emulate.c+13 -00 replies
9/21KVM: PPC: Implement BAT readsarch/powerpc/kvm/book3s_64_emulate.c+35 -00 replies
11/21KVM: PPC: Implement emulation for lbzux and lhaxarch/powerpc/kvm/emulate.c+20 -00 replies
14/21KVM: PPC: Add OSI hypercall interfaceDocumentation/kvm/api.txt arch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_host.h +3 more+59 -90 replies
20/21KVM: PPC: Make bools bitfieldsarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_host.h+17 -170 replies
21/21KVM: PPC: Disable MSR_FEx for Cell hostsarch/powerpc/kvm/book3s.c+4 -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/21] KVM: PPC: MOL bringup patches v3

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 the current svn version of MOL I have 10.4.11 running as a guest on a 970MP as well as a PS3 host.

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

v2 -> v3:

- Document that EXIT_OSI is not migration safe
- Add CAP for ENABLE_CAP
- Improve documentation for ENABLE_CAP
- Add alignment emulation for stfs, stfd, lfd
- Add alignment DAR emulation
- Add CAP for unset irq
- new: Fix dcbz emulation
- new: Add emulation for dcba
- new: Add check if pte was mapped secondary (PS3 fix)
- new: Use ULL for big numbers
- new: Make bools bitfields
- new: Disable MSR_FEx for Cell hosts (PS3 speedup)

Alexander Graf (21):
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
KVM: PPC: Fix dcbz emulation
KVM: PPC: Add emulation for dcba
KVM: PPC: Add check if pte was mapped secondary
KVM: PPC: Use ULL for big numbers
KVM: PPC: Make bools bitfields
KVM: PPC: Disable MSR_FEx for Cell hosts

 Documentation/kvm/api.txt               |   54 ++++++++-
 arch/powerpc/include/asm/kvm.h          |    3 +
 arch/powerpc/include/asm/kvm_book3s.h   |   47 +++++---
 arch/powerpc/include/asm/kvm_host.h     |   10 +-
 arch/powerpc/include/asm/kvm_ppc.h      |    2 +
 arch/powerpc/kvm/book3s.c               |  191 +++++++++++++++++++-----------
 arch/powerpc/kvm/book3s_32_mmu.c        |   30 ++++-
 arch/powerpc/kvm/book3s_64_emulate.c    |  146 +++++++++++++++++++++++-
 arch/powerpc/kvm/book3s_64_interrupts.S |    2 +-
 arch/powerpc/kvm/book3s_64_mmu_host.c   |    7 +
 arch/powerpc/kvm/book3s_64_slb.S        |    2 +-
 arch/powerpc/kvm/emulate.c              |   20 ++++
 arch/powerpc/kvm/powerpc.c              |   45 +++++++-
 include/linux/kvm.h                     |   19 +++
 14 files changed, 468 insertions(+), 110 deletions(-)