[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(-)


--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux