From: Pavel Fedin <p.fedin@samsung.com>
To: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org
Cc: Christoffer Dall <christoffer.dall@linaro.org>,
Marc Zyngier <marc.zyngier@arm.com>,
Andre Przywara <andre.przywara@arm.com>
Subject: [PATCH v7 0/6] KVM: arm64: Implement API for vGICv3 live migration
Date: Mon, 07 Dec 2015 15:29:30 +0300 [thread overview]
Message-ID: <cover.1449491035.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.
v6 => v7:
- Rebased on top of linux-next of 07.12.2015, thrown away unnecessary part
v5 => v6:
- Rebased on top of linux-next of 23.11.2015
- Use original API documentation patch, with minor changes only.
- Quit reusing KVM_DEV_ARM_VGIC_CPUID_MASK, do not touch vGICv2 API at all.
- Fixed some issues reported by the new checkpatch
v4 => v5:
- Adapted to new API by Peter Maydell, Marc Zyngier and Christoffer Dall.
Acked-by's on the documentation were dropped, just in case, because i
slightly adjusted it. Additionally, i merged all doc updates into one
patch.
v3 => v4:
- Split pure refactoring from anything else
- Documentation brought up to date
- Cleaned up 'mmio' structure usage in vgic_attr_regs_access(),
use call_range_handler() for 64-bit access handling
- Rebased on new linux-next
v2 => v3:
- KVM_DEV_ARM_VGIC_CPUID_MASK enlarged to 20 bits, allowing more than 256
CPUs.
- Bug fix: Correctly set mmio->private, necessary for redistributor access.
- Added accessors for ICC_AP0R and ICC_AP1R registers
- Rebased on new linux-next
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
Christoffer Dall (1):
KVM: arm/arm64: Add VGICv3 save/restore API documentation
Pavel Fedin (5):
KVM: arm/arm64: Move endianness conversion out of
vgic_attr_regs_access()
KVM: arm/arm64: Refactor vGIC attributes handling code
KVM: arm64: Implement vGICv3 distributor and redistributor access from
userspace
KVM: arm64: Introduce find_reg_by_id()
KVM: arm64: Implement vGICv3 CPU interface access
Documentation/virtual/kvm/devices/arm-vgic-v3.txt | 116 ++++++++
Documentation/virtual/kvm/devices/arm-vgic.txt | 21 +-
arch/arm64/include/uapi/asm/kvm.h | 15 +-
arch/arm64/kvm/sys_regs.c | 22 +-
arch/arm64/kvm/sys_regs.h | 4 +
arch/arm64/mm/mmap.c | 2 +-
include/linux/irqchip/arm-gic-v3.h | 19 +-
virt/kvm/arm/vgic-v2-emul.c | 124 ++------
virt/kvm/arm/vgic-v3-emul.c | 334 +++++++++++++++++++++-
virt/kvm/arm/vgic.c | 57 ++++
virt/kvm/arm/vgic.h | 3 +
11 files changed, 577 insertions(+), 140 deletions(-)
create mode 100644 Documentation/virtual/kvm/devices/arm-vgic-v3.txt
--
2.4.4
next reply other threads:[~2015-12-07 12:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 12:29 Pavel Fedin [this message]
2015-12-07 12:29 ` [PATCH v7 1/6] KVM: arm/arm64: Add VGICv3 save/restore API documentation Pavel Fedin
2016-02-26 15:01 ` Peter Maydell
2016-03-02 12:48 ` Christoffer Dall
2016-04-15 13:20 ` Peter Maydell
2016-04-15 13:58 ` Peter Maydell
2016-04-18 10:33 ` Peter Maydell
2016-04-20 11:03 ` Christoffer Dall
2016-04-20 10:59 ` Christoffer Dall
2016-04-20 13:28 ` Peter Maydell
2016-04-21 18:30 ` Christoffer Dall
2016-04-21 18:44 ` Peter Maydell
2015-12-07 12:29 ` [PATCH v7 2/6] KVM: arm/arm64: Move endianness conversion out of vgic_attr_regs_access() Pavel Fedin
2015-12-07 12:29 ` [PATCH v7 3/6] KVM: arm/arm64: Refactor vGIC attributes handling code Pavel Fedin
2015-12-07 12:29 ` [PATCH v7 4/6] KVM: arm64: Implement vGICv3 distributor and redistributor access from userspace Pavel Fedin
2015-12-07 12:29 ` [PATCH v7 5/6] KVM: arm64: Introduce find_reg_by_id() Pavel Fedin
2015-12-07 12:29 ` [PATCH v7 6/6] KVM: arm64: 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.1449491035.git.p.fedin@samsung.com \
--to=p.fedin@samsung.com \
--cc=andre.przywara@arm.com \
--cc=christoffer.dall@linaro.org \
--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 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.