kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Fedin <p.fedin@samsung.com>
To: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org
Cc: Marc Zyngier <marc.zyngier@arm.com>,
	Andre Przywara <andre.przywara@arm.com>
Subject: [PATCH v2 0/5]  KVM: arm64: Implement API for vGICv3 live migration
Date: Wed, 02 Sep 2015 11:09:44 +0300	[thread overview]
Message-ID: <cover.1441180858.git.p.fedin@samsung.com> (raw)

This patchset adds necessary userspace API in order to support vGICv3 live
migration. GICv3 registers are accessed using device attribute ioctls,
similar to GICv2.

v1 => v2:
- Do not use generic register get/set API for CPU interface, use only
  device attributes.
- Introduce size specifier for distributor and redistributor register
  accesses, do not assume size any more.
- Lots of refactor and reusable code extraction.
- Added forgotten documentation

Pavel Fedin (5):
  KVM: arm/arm64: Refactor vGIC attributes handling code
  KVM: arm64: Implement vGICv3 distributor and redistributor access from
    userspace
  KVM: arm64: Refactor system register handlers
  KVM: arm64: Introduce find_reg_by_id()
  Implement vGICv3 CPU interface access

 Documentation/virtual/kvm/devices/arm-vgic.txt |  72 +++++-
 arch/arm64/include/uapi/asm/kvm.h              |   9 +
 arch/arm64/kvm/sys_regs.c                      |  73 +++---
 arch/arm64/kvm/sys_regs.h                      |   8 +-
 arch/arm64/kvm/sys_regs_generic_v8.c           |   2 +-
 include/linux/irqchip/arm-gic-v3.h             |  18 +-
 virt/kvm/arm/vgic-v2-emul.c                    | 126 ++-------
 virt/kvm/arm/vgic-v3-emul.c                    | 342 ++++++++++++++++++++++++-
 virt/kvm/arm/vgic.c                            |  77 ++++++
 virt/kvm/arm/vgic.h                            |   4 +
 10 files changed, 573 insertions(+), 158 deletions(-)

-- 
2.4.4

             reply	other threads:[~2015-09-02  8:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02  8:09 Pavel Fedin [this message]
2015-09-02  8:09 ` [PATCH v2 1/5] KVM: arm/arm64: Refactor vGIC attributes handling code Pavel Fedin
2015-09-04 13:03   ` Andre Przywara
2015-09-04 15:11     ` Pavel Fedin
2015-09-04 15:16       ` Andre Przywara
2015-09-02  8:09 ` [PATCH v2 2/5] KVM: arm64: Implement vGICv3 distributor and redistributor access from userspace Pavel Fedin
2015-09-03 15:20   ` Peter Maydell
2015-09-04  7:06     ` Pavel Fedin
2015-09-02  8:09 ` [PATCH v2 3/5] KVM: arm64: Refactor system register handlers Pavel Fedin
2015-09-02  8:09 ` [PATCH v2 4/5] KVM: arm64: Introduce find_reg_by_id() Pavel Fedin
2015-09-02  8:09 ` [PATCH v2 5/5] Implement vGICv3 CPU interface access Pavel Fedin

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=cover.1441180858.git.p.fedin@samsung.com \
    --to=p.fedin@samsung.com \
    --cc=andre.przywara@arm.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=marc.zyngier@arm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).