]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit251d55569f275901f448411443bfbdad4589baa4
treefbe7d6e06d932a75f038e0dc760d9c6836a6657d
parent5c084ad210c9a9bcc0835c770404b1b7823a8f21
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