Save and restore the ARM KVM VGIC state from the kernel. We rely on QEMU to marshal the GICState data structure and therefore simply synchronize the kernel state with the QEMU emulated state in both directions. We take some care on the restore path to check the VGIC has been configured with enough IRQs and CPU interfaces that we can properly restore the state, and for separate set/clear registers we first fully clear the registers and then set the required bits. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Message-id: 1392687921-26921-1-git-send-email-christoffer.dall@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
---|---|---|
.. | ||
allwinner-a10-pic.c | ||
apic.c | ||
apic_common.c | ||
arm_gic.c | ||
arm_gic_common.c | ||
arm_gic_kvm.c | ||
armv7m_nvic.c | ||
etraxfs_pic.c | ||
exynos4210_combiner.c | ||
exynos4210_gic.c | ||
gic_internal.h | ||
grlib_irqmp.c | ||
heathrow_pic.c | ||
i8259.c | ||
i8259_common.c | ||
imx_avic.c | ||
ioapic.c | ||
ioapic_common.c | ||
lm32_pic.c | ||
Makefile.objs | ||
omap_intc.c | ||
openpic.c | ||
openpic_kvm.c | ||
pl190.c | ||
puv3_intc.c | ||
realview_gic.c | ||
sh_intc.c | ||
slavio_intctl.c | ||
xics.c | ||
xics_kvm.c | ||
xilinx_intc.c |