Skip to content

arm_gic: Initialize VGIC on machine init done

Eric Auger qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2linux-headers: Update KVM headers from linux-next tag ToBeFilledlinux-headers/asm-arm/kvm.h linux-headers/asm-arm64/kvm.h+4 -04 replies
2/2hw/intc/arm_gic: Initialize the vgic on machine init donehw/intc/arm_gic_kvm.c include/hw/intc/arm_gic_common.h+22 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] arm_gic: Initialize VGIC on machine init done

With current implementation the vgic is initialized very late, when the VM is started, on the first VCPU run execution. This series kicks the initialization off on machine init done instead.

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.

Depends on the following kernel patch:
- [PATCH] KVM: arm/arm64: vgic: add init entry to VGIC KVM device

Tested on Calxeda Miday with VFIO platform use case

Eric Auger (2):
linux-headers: Update KVM headers from linux-next tag ToBeFilled hw/intc/arm_gic: Initialize the vgic on machine init done

 hw/intc/arm_gic_kvm.c            | 21 +++++++++++++++++++++
 include/hw/intc/arm_gic_common.h |  1 +
 linux-headers/asm-arm/kvm.h      |  2 ++
 linux-headers/asm-arm64/kvm.h    |  2 ++
 4 files changed, 26 insertions(+)
Signature · 1 line
1.8.3.2