arm/xen: Initialize event channels earlier
authorJulien Grall <julien.grall@linaro.org>
Thu, 30 Jan 2014 12:52:59 +0000 (12:52 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 30 Jan 2014 12:52:59 +0000 (12:52 +0000)
commit8b271d57b57585a3e3e8cd7abc5f4d7710a0e62d
treefbe7d6e06d932a75f038e0dc760d9c6836a6657d
parentc9f6e9977e38de15da96b732a8dec0ef56cbf977
arm/xen: Initialize event channels earlier

Event channels driver needs to be initialized very early. Until now, Xen
initialization was done after all CPUs was bring up.

We can safely move the initialization to an early initcall.

Also use a cpu notifier to:
    - Register the VCPU when the CPU is prepared
    - Enable event channel IRQ when the CPU is running

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/arm/xen/enlighten.c