[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v3 0/2] explicit VGIC initialization in finalize fun

From: Eric Auger
Subject: [Qemu-devel] [PATCH v3 0/2] explicit VGIC initialization in finalize function
Date: Fri, 13 Feb 2015 03:37:18 +0000

With current implementation the vgic is initialized implicitly,
on-demand. This patch forces the init in the vgic finalize function.
At that point all the dimensioning parameters are known.

A new group/attribute in VGIC KVM device is used for that:

Among other things, this earlier VGIC initialization allows to
have a simpler handling of VFIO. VFIO platform signaling can be
setup on reset handler, making sure the VGIC is ready, at that time,
to accept injected virtual IRQs.

Tested on Calxeda Midway with VFIO platform use case

Can be found on
branch vfio_integ_v10

v2 -> v3: changed to a patch since the kernel dependency was integrated
in 3.19

v1 -> v2:
- The init is not mandated to be done in a machine init done notifier
  anymore since only the number of vcpus and number of IRQs must be known
  at init time.

Eric Auger (2):
  linux-headers: update KVM headers from KVM_DEV_ARM_VGIC_GRP_CTRL
  hw/intc/arm_gic: Initialize the vgic in the realize function

 hw/intc/arm_gic_kvm.c         | 6 ++++++
 linux-headers/asm-arm/kvm.h   | 5 +++++
 linux-headers/asm-arm64/kvm.h | 5 +++++
 3 files changed, 16 insertions(+)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]