search for: xen_secondary_init

Displaying 2 results from an estimated 2 matches for "xen_secondary_init".

2013 Apr 18
1
[PATCH] xen/arm: introduce xen_early_init, use PSCI on xen
...e <xen/xenbus.h> #include <xen/page.h> #include <xen/xen-ops.h> +#include <asm/mach/arch.h> +#include <asm/psci.h> #include <asm/xen/hypervisor.h> #include <asm/xen/hypercall.h> #include <linux/interrupt.h> @@ -176,11 +178,36 @@ static int __init xen_secondary_init(unsigned int cpu) return 0; } +static bool __init xen_smp_init(void) +{ +#ifdef CONFIG_SMP + /* If we are running on Xen, use PSCI if available. + * In any case do not try to use the native smp_ops. */ + if (psci_smp_available()) + smp_set_ops(&psci_smp_ops); + return true; +#endif +} +...
2013 May 13
0
[GIT PULL] (arm/xen) fixes-for-3.10-rc2-tag
.../sstabellini/xen.git fixes-for-3.10-rc2-tag It contains a couple of Xen on ARM initialization fixes and a patch to improve error handling. Stefano Stabellini (3): xen/arm: initialize pm functions later xen/arm: do not handle VCPUOP_register_vcpu_info failures xen/arm: rename xen_secondary_init and run it on every online cpu arch/arm/xen/enlighten.c | 33 ++++++++++++++------------------- 1 files changed, 14 insertions(+), 19 deletions(-)