[PATCH 0/5] KVM: PPC: Improve MMIO emulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guests accessing emulated MMIO can do so using a wide variety of load
and store instructions on PPC machines.  However, KVM currently only
knows about a subset of the load and store instructions available.
This patchset expands the set of load and store instructions that KVM
can emulate to include all of the integer loads and stores (except
those that trap when used on cache-inhibited mappings), all of the
floating-point loads and stores and all of the VSX loads and stores
defined in the Power ISA v2.07B (which is the architecture for
POWER8).

This does not implement Altivec/VMX loads and stores or the new loads
and stores defined in Power ISA v3.00.

This patch set is against v4.11-rc3.

---

 arch/powerpc/include/asm/disassemble.h |   5 +
 arch/powerpc/include/asm/kvm_host.h    |  23 ++
 arch/powerpc/include/asm/kvm_ppc.h     |  10 +
 arch/powerpc/include/asm/ppc-opcode.h  |  58 ++++
 arch/powerpc/kvm/Makefile              |   2 +-
 arch/powerpc/kvm/book3s.c              |  18 ++
 arch/powerpc/kvm/booke.c               |   5 +
 arch/powerpc/kvm/emulate_loadstore.c   | 472 ++++++++++++++++++++++++++++++---
 arch/powerpc/kvm/powerpc.c             | 317 +++++++++++++++++++++-
 9 files changed, 862 insertions(+), 48 deletions(-)





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux