Skip to contentSkip to conversation

PING: [PATCH v5 0/7] KVM: arm64: Implement API for vGICv3 live migration

DISCUSSION Pavel Fedin 2 participants 3 messages Oct 20, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello! How are things going? There was lots of activity, discussions, and then - silence...

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia

Quoted 77 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Pavel Fedin
Sent: Monday, October 12, 2015 11:30 AM
To: [email protected]; [email protected]
Cc: Christoffer Dall; Marc Zyngier; Andre Przywara
Subject: [PATCH v5 0/7] KVM: arm64: Implement API for vGICv3 live migration

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

Whoever wants to test it, please note that this version is not binary-compatible with previous one, the API has been seriously changed. qemu patchess will be posted in some time.

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: Update API documentation

Pavel Fedin (6):
KVM: arm/arm64: Move endianess 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: Refactor system register handlers
KVM: arm64: Introduce find_reg_by_id()
KVM: arm64: Implement vGICv3 CPU interface access

 Documentation/virtual/kvm/devices/arm-vgic-v3.txt | 117 ++++++++
 Documentation/virtual/kvm/devices/arm-vgic.txt    |  41 +--
 arch/arm64/include/uapi/asm/kvm.h                 |  17 +-
 arch/arm64/kvm/sys_regs.c                         |  83 +++---
 arch/arm64/kvm/sys_regs.h                         |   8 +-
 arch/arm64/kvm/sys_regs_generic_v8.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                       | 343 +++++++++++++++++++++-
 virt/kvm/arm/vgic.c                               |  57 ++++
 virt/kvm/arm/vgic.h                               |   3 +
 11 files changed, 630 insertions(+), 184 deletions(-)
 create mode 100644 Documentation/virtual/kvm/devices/arm-vgic-v3.txt

--
2.4.4

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

#1 lore raw
Quoted 2 lines · Pavel Fedin

Hello! How are things going? There was lots of activity, discussions, and then - silence...

As I told you, this is not going to make it for v4.4, and if you haven't noticed we're getting close to the release of v4.3 and to the v4.4 merge window opening up, so we're busy.

Also, take a look at the number of patches on the kvmarm list, they all have to be reviewed, and the think about all the patches you reviewed (wait, that was none), and then you know how many patches I have to review.

You can keep sending your pings, but they're useless, as we've told you before, because we're not ignoring your patches, we're just busy and have to prioritize.

We'll get to your patches when we get to them, but seriously, you have to curb your eagerness a bit.

Thanks,
-Christoffer

Quoted 80 lines
Quoted 79 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Pavel Fedin
Sent: Monday, October 12, 2015 11:30 AM
To: [email protected]; [email protected]
Cc: Christoffer Dall; Marc Zyngier; Andre Przywara
Subject: [PATCH v5 0/7] KVM: arm64: Implement API for vGICv3 live migration

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

Whoever wants to test it, please note that this version is not binary-compatible with previous one, the API has been seriously changed. qemu patchess will be posted in some time.

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: Update API documentation

Pavel Fedin (6):
KVM: arm/arm64: Move endianess 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: Refactor system register handlers
KVM: arm64: Introduce find_reg_by_id()
KVM: arm64: Implement vGICv3 CPU interface access

 Documentation/virtual/kvm/devices/arm-vgic-v3.txt | 117 ++++++++
 Documentation/virtual/kvm/devices/arm-vgic.txt    |  41 +--
 arch/arm64/include/uapi/asm/kvm.h                 |  17 +-
 arch/arm64/kvm/sys_regs.c                         |  83 +++---
 arch/arm64/kvm/sys_regs.h                         |   8 +-
 arch/arm64/kvm/sys_regs_generic_v8.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                       | 343 +++++++++++++++++++++-
 virt/kvm/arm/vgic.c                               |  57 ++++
 virt/kvm/arm/vgic.h                               |   3 +
 11 files changed, 630 insertions(+), 184 deletions(-)
 create mode 100644 Documentation/virtual/kvm/devices/arm-vgic-v3.txt

--
2.4.4

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

#2 lore raw

Hello!

Quoted 2 lines

We'll get to your patches when we get to them, but seriously, you have to curb your eagerness a bit.

Ok, sorry for this disturbance then. It is enough for me to know it.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia