public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Dave Hansen <haveblue@us.ibm.com>,
	linux-kernel@vger.kernel.org, Andi Kleen <ak@suse.de>
Subject: Re: [PATCH] early printk for x86
Date: Mon, 18 Nov 2002 16:17:50 +0100	[thread overview]
Message-ID: <20021118161750.A32042@wotan.suse.de> (raw)
In-Reply-To: <14814.1037632523@passion.cambridge.redhat.com>

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

  reply	other threads:[~2002-11-18 15:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-14 19:42 [PATCH] early printk for x86 Dave Hansen
2002-11-14 19:55 ` Andi Kleen
2002-11-14 20:27 ` Jeff Garzik
2002-11-14 22:50   ` Dave Hansen
2002-11-15  3:43     ` Andi Kleen
2002-11-15  3:52       ` William Lee Irwin III
2002-11-15  4:15       ` H. Peter Anvin
2002-11-14 21:05 ` Jeff Garzik
2002-11-14 23:17 ` Jeff Garzik
2002-11-18 15:15 ` David Woodhouse
2002-11-18 15:17   ` Andi Kleen [this message]
2002-11-18 15:39     ` David Woodhouse
     [not found] <3DD3FCB3.40506@us.ibm.com.suse.lists.linux.kernel>
     [not found] ` <3DD40719.5030108@pobox.com.suse.lists.linux.kernel>
     [not found]   ` <3DD428C3.4030700@us.ibm.com.suse.lists.linux.kernel>
     [not found]     ` <20021115044300.C20764@wotan.suse.de.suse.lists.linux.kernel>
     [not found]       ` <ar1sdm$gfe$1@cesium.transmeta.com.suse.lists.linux.kernel>
2002-11-15  4:31         ` Andi Kleen
2002-11-15  4:33           ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021118161750.A32042@wotan.suse.de \
    --to=ak@suse.de \
    --cc=dwmw2@infradead.org \
    --cc=haveblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox