arm_gic: Initialize VGIC on machine init done
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | linux-headers: Update KVM headers from linux-next tag ToBeFilledlinux-headers/ linux-headers/ | +4 | 4 replies | |
| 2/2 | hw/intc/arm_gic: Initialize the vgic on machine init donehw/ include/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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