All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] arm_gic: Initialize VGIC on machine init done
@ 2014-12-02 18:28 Eric Auger
  2014-12-02 18:28 ` [Qemu-devel] [PATCH 1/2] linux-headers: Update KVM headers from linux-next tag ToBeFilled Eric Auger
  2014-12-02 18:28 ` [Qemu-devel] [PATCH 2/2] hw/intc/arm_gic: Initialize the vgic on machine init done Eric Auger
  0 siblings, 2 replies; 7+ messages in thread
From: Eric Auger @ 2014-12-02 18:28 UTC (permalink / raw)
  To: eric.auger, christoffer.dall, qemu-devel, a.rigo, marc.zyngier,
	ard.biesheuvel, agraf, peter.maydell, pbonzini, afaerber
  Cc: a.motakis, alex.williamson, patches, kvmarm, eric.auger

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(+)

-- 
1.8.3.2

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

end of thread, other threads:[~2014-12-03 11:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-02 18:28 [Qemu-devel] [PATCH 0/2] arm_gic: Initialize VGIC on machine init done Eric Auger
2014-12-02 18:28 ` [Qemu-devel] [PATCH 1/2] linux-headers: Update KVM headers from linux-next tag ToBeFilled Eric Auger
2014-12-03 10:49   ` Christoffer Dall
2014-12-03 10:53     ` Eric Auger
2014-12-03 11:03       ` Christoffer Dall
2014-12-03 11:03         ` Eric Auger
2014-12-02 18:28 ` [Qemu-devel] [PATCH 2/2] hw/intc/arm_gic: Initialize the vgic on machine init done Eric Auger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.