qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v8 0/5] vGICv3 support
@ 2015-08-10 12:06 Pavel Fedin
  2015-08-10 12:06 ` [Qemu-devel] [PATCH v8 1/5] Implement GIC-500 base class Pavel Fedin
                   ` (4 more replies)
  0 siblings, 5 replies; 27+ messages in thread
From: Pavel Fedin @ 2015-08-10 12:06 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Shlomo Pongratz, Shlomo Pongratz, Christoffer Dall,
	Eric Auger

This series introduces support for GICv3 by KVM. Software emulation is
currently not supported.

This patchset applies on top of:
http://lists.nongnu.org/archive/html/qemu-devel/2015-08/msg00518.html

v7 => v8
- Removed all unused SW emulation code
- Removed unnecessary attributes from common class
- Set "non-migratable" flag for GICv3 device
- Removed unnecessary conditions from kvm_arm_gicv3_realize()
- Fixed GIC type setting in vexpress model, was done in wrong place
- Cleaned up virt machine memory map

v6 => v7
- Wrap own GIC type definitions on top of KVM ones. Fixed build on
  non-ARM-Linux hosts

v5 => v6
- Fixed various checkpatch.pl style warnings
- Removed TODO in gicv3_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 array

v4 => v5
- Do not reintroduce several constants shared with GICv2, reuse them instead.
- Added gicv3_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 from virt.c

v3 => v4
- Fixed stupid build breakage in patch 0002
- Rebased on top of current master, patch 0003 adjusted according to
  kvm_irqchip_create() changes
- Added assertion against uninitialized kernel_irqchip_type
- Removed kernel_irqchip_type initialization from models which do not
  use KVM vGIC

v2 => 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 kernel

v1 => 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
  - 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/vexpress.c                  |   3 +
 hw/arm/virt.c                      | 135 +++++++++++++++++++++++++++++-----
 hw/intc/Makefile.objs              |   2 +
 hw/intc/arm_gic_kvm.c              |  84 ++++++++++-----------
 hw/intc/arm_gicv3_common.c         | 147 +++++++++++++++++++++++++++++++++++++
 hw/intc/arm_gicv3_kvm.c            | 143 ++++++++++++++++++++++++++++++++++++
 hw/intc/vgic_common.h              |  43 +++++++++++
 include/hw/arm/fdt.h               |   2 +-
 include/hw/arm/virt.h              |   5 +-
 include/hw/boards.h                |   1 +
 include/hw/intc/arm_gicv3_common.h |  70 ++++++++++++++++++
 include/sysemu/kvm.h               |   3 +-
 kvm-all.c                          |   2 +-
 stubs/kvm.c                        |   2 +-
 target-arm/kvm-consts.h            |   6 ++
 target-arm/kvm.c                   |  13 +++-
 16 files changed, 590 insertions(+), 71 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

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2015-08-13 11:03 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 12:06 [Qemu-devel] [PATCH v8 0/5] vGICv3 support Pavel Fedin
2015-08-10 12:06 ` [Qemu-devel] [PATCH v8 1/5] Implement GIC-500 base class Pavel Fedin
2015-08-10 17:23   ` Peter Maydell
2015-08-11  7:53     ` Pavel Fedin
2015-08-11  9:20       ` Peter Maydell
2015-08-11  9:35         ` Pavel Fedin
2015-08-11 10:15           ` Peter Maydell
2015-08-11 10:39             ` Pavel Fedin
2015-08-11 10:42               ` Peter Maydell
2015-08-10 12:06 ` [Qemu-devel] [PATCH v8 2/5] Extract some reusable vGIC code Pavel Fedin
2015-08-10 17:34   ` Peter Maydell
2015-08-11  7:23     ` Pavel Fedin
2015-08-10 12:06 ` [Qemu-devel] [PATCH v8 3/5] Introduce irqchip type specification for KVM Pavel Fedin
2015-08-10 16:45   ` Peter Maydell
2015-08-12 11:44     ` Pavel Fedin
2015-08-12 11:45       ` Christoffer Dall
2015-08-12 12:27     ` Pavel Fedin
2015-08-12 12:59       ` Peter Maydell
2015-08-12 13:23         ` Christoffer Dall
2015-08-12 14:14           ` Eric Auger
2015-08-12 14:24             ` Christoffer Dall
2015-08-12 15:21               ` Eric Auger
2015-08-10 12:06 ` [Qemu-devel] [PATCH v8 4/5] Initial implementation of vGICv3 Pavel Fedin
2015-08-10 17:18   ` Peter Maydell
2015-08-10 12:06 ` [Qemu-devel] [PATCH v8 5/5] Add gicversion option to virt machine Pavel Fedin
2015-08-10 17:12   ` Peter Maydell
2015-08-13 11:02     ` Pavel Fedin

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).