qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC v4 0/6] vITS support
@ 2016-07-06  9:45 Eric Auger
  2016-07-06  9:45 ` [Qemu-arm] [RFC v4 1/6] hw/intc/arm_gicv3_its: Implement ITS base class Eric Auger
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Eric Auger @ 2016-07-06  9:45 UTC (permalink / raw)
  To: eric.auger.pro, eric.auger, peter.maydell, qemu-arm, qemu-devel,
	p.fedin
  Cc: diana.craciun, shlomopongratz

This series introduces support for in-kernel GICv3 ITS emulation.
It is based on a kernel API which is not yet released.

Tested on Cavium ThunderX with virtio-net-pci and vhost-net.

Kernel dependencies:
- [PATCH v8 00/12] KVM: arm64: GICv3 ITS emulation
   http://www.spinics.net/lists/kvm/msg135048.html
- [PATCH v6 0/6] KVM: arm/arm64: gsi routing support

Those kernel series can be found at:
https://github.com/eauger/linux/tree/v4.7-rc6-its-emul-v8-gsi-routing-v6

This QEMU series can be found at:
https://github.com/eauger/qemu/tree/v2.6.0-vITS-v4

Previous version originally written by Pavel:
- [RFC PATCH v3 0/5] vITS support
  https://lists.gnu.org/archive/html/qemu-devel/2015-11/msg05197.html

History:

v3 => v4:
- Took into account Peter's comments (at the exception of sub-class
  operation changes, at the moment)
- rebase on Andre's kernel ITS emulation series v8
- rework KVM init sequence and KVM device creation/settings overall.
  I do not use kvm_arm_register_device due to the way the kernel
  API is devises (see discussion on the kernel ML)
- change the computation of the GITS_TRANSLATER base address
- fix compilation issues
- new "target-arm: move gicv3_class_name from machine to kvm_arm.h"

v2 => v3:
- Really added unmigratable flag, was overlooked in v2
- Fixed checkpatch issue with initializing static variable to zero

v1 => v2:
- Added registers and reset method
- Added unmigratable flag
- Rebased on top of current master, use kvm_arch_fixup_msi_route() now


Eric Auger (1):
  target-arm: move gicv3_class_name from machine to kvm_arm.h

Pavel Fedin (5):
  hw/intc/arm_gicv3_its: Implement ITS base class
  linux-headers: update to 4.7-rc6 + ITS emulation and GSI routing
  target-arm/kvm: Pass requester ID to MSI routing functions
  hw/intc/arm_gicv3_its: Implement support for in-kernel ITS emulation
  arm/virt: Add ITS to the virt board

 hw/arm/virt.c                                      |  47 ++++++-
 hw/intc/Makefile.objs                              |   2 +
 hw/intc/arm_gicv3_its_common.c                     | 155 +++++++++++++++++++++
 hw/intc/arm_gicv3_its_kvm.c                        | 145 +++++++++++++++++++
 include/hw/intc/arm_gicv3_its_common.h             |  75 ++++++++++
 include/standard-headers/linux/input-event-codes.h |  31 +++++
 include/standard-headers/linux/input.h             |   1 +
 linux-headers/asm-arm64/kvm.h                      |   2 +
 linux-headers/linux/kvm.h                          |  12 +-
 target-arm/kvm.c                                   |   6 +
 target-arm/kvm_arm.h                               |  38 ++++-
 target-arm/machine.c                               |  16 ---
 12 files changed, 505 insertions(+), 25 deletions(-)
 create mode 100644 hw/intc/arm_gicv3_its_common.c
 create mode 100644 hw/intc/arm_gicv3_its_kvm.c
 create mode 100644 include/hw/intc/arm_gicv3_its_common.h

-- 
2.5.5


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

end of thread, other threads:[~2016-07-29 14:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06  9:45 [Qemu-devel] [RFC v4 0/6] vITS support Eric Auger
2016-07-06  9:45 ` [Qemu-arm] [RFC v4 1/6] hw/intc/arm_gicv3_its: Implement ITS base class Eric Auger
2016-07-06  9:46 ` [Qemu-devel] [RFC v4 2/6] target-arm: move gicv3_class_name from machine to kvm_arm.h Eric Auger
2016-07-10 20:17   ` [Qemu-arm] " Auger Eric
2016-07-06  9:46 ` [Qemu-arm] [RFC v4 3/6] linux-headers: update to 4.7-rc6 + ITS emulation and GSI routing Eric Auger
2016-07-06  9:46 ` [Qemu-arm] [RFC v4 4/6] target-arm/kvm: Pass requester ID to MSI routing functions Eric Auger
2016-07-06  9:46 ` [Qemu-arm] [RFC v4 5/6] hw/intc/arm_gicv3_its: Implement support for in-kernel ITS emulation Eric Auger
2016-07-29 13:35   ` Peter Maydell
2016-07-29 14:13     ` [Qemu-devel] " Auger Eric
2016-07-29 14:22       ` Peter Maydell
2016-07-06  9:46 ` [Qemu-arm] [RFC v4 6/6] arm/virt: Add ITS to the virt board Eric Auger

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