This series introduces support for GICv3 by KVM. Software emulation is currently not supported.
Differences from v2: - Removed some urelated 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 kernel Differences from v1: - 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 - Removed REV_V3 definition 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 machine Pavel Fedin (4): Extract some reusable vGIC code Introduce irqchip type specification for KVM Initial implementation of vGICv3 Add gicversion option to virt machine Shlomo Pongratz (1): Implement GIC-500 base class hw/arm/exynos4_boards.c | 1 + hw/arm/realview.c | 1 + hw/arm/vexpress.c | 1 + hw/arm/virt.c | 138 ++++++++++++++++++++---- hw/intc/Makefile.objs | 4 + hw/intc/arm_gic_kvm.c | 82 +++++++------- hw/intc/arm_gicv3_common.c | 216 +++++++++++++++++++++++++++++++++++++ hw/intc/arm_gicv3_kvm.c | 192 +++++++++++++++++++++++++++++++++ hw/intc/gicv3_internal.h | 156 +++++++++++++++++++++++++++ hw/intc/vgic_common.h | 43 ++++++++ include/hw/arm/fdt.h | 2 +- include/hw/arm/virt.h | 6 +- include/hw/boards.h | 1 + include/hw/intc/arm_gicv3_common.h | 113 +++++++++++++++++++ include/sysemu/kvm.h | 3 +- kvm-all.c | 6 +- stubs/kvm.c | 2 +- target-arm/kvm.c | 8 +- 18 files changed, 902 insertions(+), 73 deletions(-) create mode 100644 hw/intc/arm_gicv3_common.c create mode 100644 hw/intc/arm_gicv3_kvm.c create mode 100644 hw/intc/gicv3_internal.h create mode 100644 hw/intc/vgic_common.h create mode 100644 include/hw/intc/arm_gicv3_common.h -- 1.9.5.msysgit.0