* cpu_up not called for boot cpu
@ 2006-06-28 3:41 Keith Owens
2006-06-28 7:55 ` Heiko Carstens
2006-06-28 15:50 ` Andi Kleen
0 siblings, 2 replies; 3+ messages in thread
From: Keith Owens @ 2006-06-28 3:41 UTC (permalink / raw)
To: linux-kernel
cpu_up() is only called for secondary cpus, not for the boot cpu. That
means that code hooked into the cpu_chain notifier never gets called
for the boot cpu, which prevents additional subsystems from taking
action for the boot cpu. So how are additional subsystems meant to be
initialised for the boot cpu?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cpu_up not called for boot cpu
2006-06-28 3:41 cpu_up not called for boot cpu Keith Owens
@ 2006-06-28 7:55 ` Heiko Carstens
2006-06-28 15:50 ` Andi Kleen
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Carstens @ 2006-06-28 7:55 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel
On Wed, Jun 28, 2006 at 01:41:03PM +1000, Keith Owens wrote:
> cpu_up() is only called for secondary cpus, not for the boot cpu. That
> means that code hooked into the cpu_chain notifier never gets called
> for the boot cpu, which prevents additional subsystems from taking
> action for the boot cpu. So how are additional subsystems meant to be
> initialised for the boot cpu?
Looks like you need to add your subsystem's call to do_pre_smp_initcalls().
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cpu_up not called for boot cpu
2006-06-28 3:41 cpu_up not called for boot cpu Keith Owens
2006-06-28 7:55 ` Heiko Carstens
@ 2006-06-28 15:50 ` Andi Kleen
1 sibling, 0 replies; 3+ messages in thread
From: Andi Kleen @ 2006-06-28 15:50 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel
Keith Owens <kaos@sgi.com> writes:
> cpu_up() is only called for secondary cpus, not for the boot cpu. That
> means that code hooked into the cpu_chain notifier never gets called
> for the boot cpu, which prevents additional subsystems from taking
> action for the boot cpu. So how are additional subsystems meant to be
> initialised for the boot cpu?
They ought to initialize themselves for the already online cpus
when they start.
Any other way would make them lose CPUs if they were loaded
after the other CPUs are added.
-Andi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-28 15:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-28 3:41 cpu_up not called for boot cpu Keith Owens
2006-06-28 7:55 ` Heiko Carstens
2006-06-28 15:50 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®