public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: "Yinghai Lu" <yhlu.kernel@gmail.com>
Cc: "Gerd Hoffmann" <kraxel@suse.de>, "Andi Kleen" <ak@suse.de>,
	akpm@linux-foundation.org,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	"linux kernel mailing list" <linux-kernel@vger.kernel.org>
Subject: Re: [patch] early printk and boot console fixups.
Date: Wed, 16 May 2007 09:59:12 -0600	[thread overview]
Message-ID: <200705160959.12433.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <86802c440705152117o34325f1dw4a0cdf95241b3b42@mail.gmail.com>

On Tuesday 15 May 2007 10:17:50 pm Yinghai Lu wrote:
> for early_uart_console, I have some ideas:
> 1. merged that into early_serial_console in
> arch/x86_64/kernel/early_printk.c, and
> move early_printk.c to kernel/, --- make it understand
>      earlyprintk=uart,io,0x3f8,9600n8
>      earlyprintk=uart,mmio,0xff5e0000,115200n8
> in addition to vga, ttyS, serial

I would rather try to merge 8250_early and early_printk.
"console=uart,io,0x3f8" is already pretty similar to
"earlyprintk=serial", and it would be nice to have only one.

"console=uart" does have the disadvantage that you have to know the
port address.  But it has the advantage that it doesn't depend on
compiled-in legacy serial port names.  If you need early console
output, you're probably a developer and can come up with the address.

I think it would be nice to have a "console=vga".  That could use
the current "earlyprintk=vga" implementation, and automatically
hand off to tty0.

Then we could remove "earlyprintk=" and always use "console=uart"
or "console=vga".

Bjorn



  reply	other threads:[~2007-05-16 15:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16 14:49 [patch] early printk and boot console fixups Gerd Hoffmann
2007-05-16  4:17 ` Yinghai Lu
2007-05-16 15:59   ` Bjorn Helgaas [this message]
2007-05-16 16:29     ` Yinghai Lu
2007-05-16 16:56       ` Bjorn Helgaas
2007-05-16 17:09     ` Maciej W. Rozycki
2007-05-16 18:14       ` Bjorn Helgaas
2007-05-17  9:45         ` Maciej W. Rozycki
2007-05-17 16:54           ` Yinghai Lu
2007-05-17 17:18           ` Bjorn Helgaas

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=200705160959.12433.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@hp.com \
    --cc=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=ebiederm@xmission.com \
    --cc=kraxel@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=yhlu.kernel@gmail.com \
    /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