]> 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)
commit5f72cebe3ed0f511111dd37ddc2ce919176b746e
treefbe7d6e06d932a75f038e0dc760d9c6836a6657d
parent088044890e9543f6be1daf1b8daef0cf614ce392
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