PING: [PATCH v12 0/5] vGICv3 support
Knock-knock!
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
Quoted 127 lines
-----Original Message-----
From: [email protected] [mailto:qemu-devel- [email protected]] On Behalf Of Pavel Fedin
Sent: Wednesday, August 26, 2015 1:28 PM
To: [email protected]
Cc: Peter Maydell; Shlomo Pongratz; Shlomo Pongratz; Eric Auger
Subject: [Qemu-devel] [PATCH v12 0/5] vGICv3 supportThis series introduces support for GICv3 by KVM. Software emulation is currently not supported.
V11 => V12
- Do not set timer PPI CPU mask in device tree for GICv3
- Fixed small styling issues inhw/arm/virt.c
- Completely untiedkvm_gic_access()from GIC and turned intokvm_device_access(). Attribute mapping is now handled in gicd/gicc wrapper macros.v11 => v10
- Fixed minor issues with checkpatch and comments, reported by Eric Auger
- Make reusablekvm_gic_supports_attr(), moved tokvm-all.cand renamed askvm_device_check_attr(). Useful for future live migration.v9 => v10
- Renamed "gicversion" option to "gic-version" (was forgotten in v9)
- Data pointer inkvm_gic_access()is now void * because in case of vGICv3 this function is expected to operate on 64-bit registers too (GICD_IROUTERfor instance)v8 => v9
- Removed all limitations on CPU and IRQ number from the base class
- Added back missing properties, interface is now the same as in GICv2
- Refactored reusable parts of vGICv2 code, decreased number of changes
- Removed GIC type check fromkvm_arch_irqchip_create(), no more need to specify GIC type early
- Fixed up all commit messages / logs
- Removed 'nvic' field assignment in virt machine (was forgotten in v8)
- CPU number limitation for 'virt' machine now comes from memory map (how many redistributors can be placed). With current layout it appears to be 126.v7 => v8
- Removed all unused SW emulation code
- Removed unnecessary attributes from common class
- Set "unmigratable" flag for GICv3 device
- Removed unnecessary conditions fromkvm_arm_gicv3_realize()
- Fixed GIC type setting in vexpress model, was done in wrong place
- Fixed condition style in hw/intc/Makefile.objs
- Cleaned up virt machine memory mapv6 => v7
- Wrap own GIC type definitions on top of KVM ones. Fixed build on non-ARM-Linux hostsv5 => v6
- Fixed various checkpatch.pl style warnings
- Removed TODO ingicv3_init_irqs_and_mmio(), relevant memory API patch included
-gicv3_init_irqs_and_mmio()now takes 3 arguments instead of 4. It is more convenient to pass MMIO descriptors as arrayv4 => v5
- Do not reintroduce several constants shared with GICv2, reuse them instead.
- Addedgicv3_init_irqs_and_mmio()in base class, to be used by both software emulation and KVM code. Avoids code duplication.
- Do not add NULL msi-parent phandle to PCI device in the FDT
- Removed a couple of stale things fromvirt.cv3 => v4
- Fixed stupid build breakage in patch 0002
- Rebased on top of current master, patch 0003 adjusted according tokvm_irqchip_create()changes
- Added assertion against uninitializedkernel_irqchip_type
- Removedkernel_irqchip_typeinitialization from models which do not use KVM vGICv2 => v3
- Removed some unrelated and unnecessary changes from virt machine, occasionally slipped in; some of them caused qemu to crash on ARM32.
- Fixed build for ARM32; vGICv3 code requires definitions which are present only in ARM64 kernelv1 => v2
- Base class included, taken from the series by Shlomo Pongratz:
http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg01512.html
The code is refactored as little as possible in order to simplify further addition of software emulation:
- Minor fixes in code style and comments, according to old reviews
- RemovedREV_V3definition because it's currently not used, and it does not add any meaning to number 3.
- Removed reserved regions for MBI and ITS (except for 'virt' machine memory map). These should go to separate classes when implemented.
- Improved commit messages
- vGIC patches restructured
- Use 'gicversion' option instead of virt-v3 machinePavel Fedin (4):
intc/gic: Extract some reusable vGIC code
arm_kvm: Do not assume particular GIC type in
kvm_arch_irqchip_create()
hw/intc: Initial implementation of vGICv3 hw/arm/virt: Add gic-version option to virt machineShlomo Pongratz (1):
hw/intc: Implement GIC-500 base classhw/arm/virt.c | 118 +++++++++++++++++++++++------ hw/intc/Makefile.objs | 2 + hw/intc/arm_gic_kvm.c | 84 ++++----------------- hw/intc/arm_gicv3_common.c | 140 ++++++++++++++++++++++++++++++++++ hw/intc/arm_gicv3_kvm.c | 149 +++++++++++++++++++++++++++++++++++++ hw/intc/vgic_common.h | 49 ++++++++++++ include/hw/arm/virt.h | 5 +- include/hw/intc/arm_gicv3_common.h | 68 +++++++++++++++++ include/sysemu/kvm.h | 26 +++++++ kvm-all.c | 33 ++++++++ target-arm/kvm.c | 10 +-- target-arm/kvm_arm.h | 10 +++ target-arm/machine.c | 18 +++++ 13 files changed, 611 insertions(+), 101 deletions(-) create mode 100644 hw/intc/arm_gicv3_common.c create mode 100644 hw/intc/arm_gicv3_kvm.c create mode 100644 hw/intc/vgic_common.h create mode 100644 include/hw/intc/arm_gicv3_common.h--
1.9.5.msysgit.0