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


ak@suse.de said:
>  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.

No, the generic serial _console_ is polled and should require no more 
infrastructure than the early_console version which it strongly resembles.

After all, it's generally called from console_init(), at which point 
there's little more infrastructure available than in setup_arch() _anyway_.

You should happily be able to call serial8250_console_init() earlier then
console_init() currently does.

(Btw, if you're playing with this code I posted a cleanup to all the 
horrible #ifdefs in console_init, converting it to the __initcall mechanism.
http://marc.theaimsgroup.com/?l=linux-kernel&m=103660078206270&w=2 )

--
dwmw2


  reply	other threads:[~2002-11-18 15:32 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
2002-11-18 15:39     ` David Woodhouse [this message]
     [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=16835.1037633952@passion.cambridge.redhat.com \
    --to=dwmw2@infradead.org \
    --cc=ak@suse.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.