Re: [PATCH] early printk for x86

From: Andi Kleen (ak@suse.de)
Date: Mon Nov 18 2002 - 10:17:50 EST


On Mon, Nov 18, 2002 at 03:15:23PM +0000, David Woodhouse wrote:
>
> haveblue@us.ibm.com said:
> > 1. I copied the x86_64 early printk support for plain x86. Is
> > anyone opposed to me sending this on to Linus?
>
> Why is it necessary to reimplement serial console for each arch rather than
> just registering the generic serial console as early as possible from
> arch-specific code?
>
> There's no _reason_ to wait for console_init(), for most consoles.

The generic serial driver needs lots of infrastructure that is not present
in early boot. Also the early_printk serial driver is polled, not
interrupt driven. The whole point of early_printk is that you can debug
from line one of your code, so it is essential that it is self contained
as far as possible.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:22 EST