[lkml]   [2006]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC/PATCH] Make printk work for really early debugging
On Thu, 2006-05-18 at 15:55 +0200, Andi Kleen wrote:
> Michael Ellerman <> writes:
> > Currently printk is no use for early debugging because it refuses to actually
> > print anything to the console unless cpu_online(smp_processor_id()) is true.
> On x86-64 this is simply solved by setting the boot processor online very early.

I had a closer look at this, and we could actually fudge it so that
cpu_online() is true in our early boot code, even though we don't know
what cpu we're on.

But that kind of begs the question, what does "cpu_online(x)" actually
mean? If it doesn't mean percpu data is allocated, what does it mean?


Michael Ellerman
IBM OzLabs

phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2006-05-22 08:59    [W:0.054 / U:4.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site