All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@ozlabs.org>
To: kvm@vger.kernel.org, linuxppc-dev@ozlabs.org, kvm-ppc@vger.kernel.org
Subject: [PATCH 0/5] KVM: PPC: Improve MMIO emulation
Date: Thu, 23 Mar 2017 15:25:58 +1100	[thread overview]
Message-ID: <1490243163-19566-1-git-send-email-paulus@ozlabs.org> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: Paul Mackerras <paulus@ozlabs.org>
To: kvm@vger.kernel.org, linuxppc-dev@ozlabs.org, kvm-ppc@vger.kernel.org
Subject: [PATCH 0/5] KVM: PPC: Improve MMIO emulation
Date: Thu, 23 Mar 2017 04:25:58 +0000	[thread overview]
Message-ID: <1490243163-19566-1-git-send-email-paulus@ozlabs.org> (raw)

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



             reply	other threads:[~2017-03-23  4:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23  4:25 Paul Mackerras [this message]
2017-03-23  4:25 ` [PATCH 0/5] KVM: PPC: Improve MMIO emulation Paul Mackerras
2017-03-23  4:25 ` [PATCH 1/5] KVM: PPC: Provide functions for queueing up FP/VEC/VSX unavailable interrupts Paul Mackerras
2017-03-23  4:25   ` Paul Mackerras
2017-03-23  4:26 ` [PATCH 2/5] KVM: PPC: Book3S: Add MMIO emulation for FP and VSX instructions Paul Mackerras
2017-03-23  4:26   ` Paul Mackerras
2017-03-24 11:27   ` kbuild test robot
2017-03-24 11:27     ` kbuild test robot
2017-03-23  4:26 ` [PATCH 3/5] KVM: PPC: Add MMIO emulation for stdx (store doubleword indexed) Paul Mackerras
2017-03-23  4:26   ` Paul Mackerras
2017-03-23  4:26 ` [PATCH 4/5] KVM: PPC: Emulation for more integer loads and stores Paul Mackerras
2017-03-23  4:26   ` Paul Mackerras
2017-03-23  4:26 ` [PATCH 5/5] KVM: PPC: Add MMIO emulation for remaining floating-point instructions Paul Mackerras
2017-03-23  4:26   ` Paul Mackerras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1490243163-19566-1-git-send-email-paulus@ozlabs.org \
    --to=paulus@ozlabs.org \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.