[lkml]   [2004]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Kgdb-bugreport] [PATCH] Kill kgdb_serial
Tom Rini wrote:

>>I am afraid I don't quite understand what he was saying other than early
>>init stuff. On of the problems with trying early init stuff, by the way,
>>is that a lot of things depend on having alloc up and that happens rather
>>late in the game.
> I assume you aren't talking about kgdb stuff here (or what would be the
> point of going so early) but I believe he was talking about allowing for
> stuff that could be done early, to be done early.

One of the issues with the UART set up is registering the interrupt handler with
the kernel. It will fail if alloc is not up. The -mm patch does two things
with this. a) It tries every getchar to register the interrupt handler, and b)
it has a module init entry to register it. This last will happen late in the
bring up and is safe. a) is there to get it ASAP if you are actually using kgdb
during the bring up.

George Anzinger
Preemption patch:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:01    [W:0.059 / U:16.768 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site