[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 08 of 10] arm: Boot secondary CPUs into C
On Thu, 2012-02-23 at 17:40 +0000, Tim Deegan wrote: > # HG changeset patch > # User Tim Deegan <tim@xxxxxxx> > # Date 1330018799 0 > # Node ID d35b52e5fde829dfbaf3da73e0716d004faded2f > # Parent fd78d23ba19de4129e21cdc7303848b105057227 > arm: Boot secondary CPUs into C > > Signed-off-by: Tim Deegan <tim@xxxxxxx> I think this need rebasing a bit past the per-vcpu stacks changes so I wont' ack just yet although I like the general shape of it. > @@ -28,6 +33,14 @@ EXPORT_SYMBOL(cpu_online_map); > cpumask_t cpu_possible_map; > EXPORT_SYMBOL(cpu_possible_map); > > +/* Xen stack for bringing up the first CPU. */ > +static unsigned char cpu0_stack[STACK_SIZE] > + __attribute__((__aligned__(STACK_SIZE))); > + > +/* Remember where the boot-time stacks live */ > +/* TODO: overhaul this, and get_processor_id(), for per-vcpu stacks */ > +unsigned char *init_stacks[NR_CPUS] = { cpu0_stack, 0 }; Do we need to track the per-CPU idle stacks after the CPUs have been brought up? We are already serialized due to the use of the shared smp_up_cpu so could we get away with a single "smp_bringup_args" area and avoid the NR_CPUS array? Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |