[PATCH] KVM: arm/arm64: vgic: add init entry to VGIC KVM device

Peter Maydell peter.maydell at linaro.org
Thu Dec 4 04:07:59 PST 2014


On 4 December 2014 at 12:01, Eric Auger <eric.auger at linaro.org> wrote:
> Here is the sequence:
> 1) The VGIC early initialization is initiated in a machine init done
> notifier. This notifier is registered in kvm_arm_gic_realize
> (http://lists.gnu.org/archive/html/qemu-devel/2014-12/msg00220.html). It
> executes after vcpu instantiations + dist/cpu interface base address
> setting + nb irq setting.
> 2) the VFIO signaling and irqfd setup is done in a reset notifier
> http://lists.gnu.org/archive/html/qemu-devel/2014-11/msg04365.html

OK. And on x86 VFIO how does this work? Obviously x86's GIC just
initializes as soon as it's created, but do we do the irqfd setup
in a reset notifier there too?

thanks
-- PMM



More information about the linux-arm-kernel mailing list