public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: "Yinghai Lu" <yhlu.kernel@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	"Bjorn Helgaas" <bjorn.helgaas@hp.com>,
	"Gerd Hoffmann" <kraxel@redhat.com>, "Andi Kleen" <ak@suse.de>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"linux kernel mailing list" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall
Date: Sun, 20 May 2007 21:46:57 -0700	[thread overview]
Message-ID: <20070520214657.fcf5e9ce.akpm@linux-foundation.org> (raw)
In-Reply-To: <86802c440705202129o6fe9fb89l47aef78e973c36c5@mail.gmail.com>

On Sun, 20 May 2007 21:29:20 -0700 "Yinghai Lu" <yhlu.kernel@gmail.com> wrote:

> On 5/20/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> > I'll queue this up for some testing, but I'd be a bit reluctant to send it
> > into Linus due to my poor understanding of what it actually does.  What
> > _is_ an early console, and how does it differ from a non-early one?
> >
> > Someone help, please.
> >
> > Coudl you please provide a patch against
> > Documentation/kernel-parameters.txt as well?
> >
> the story:
> Bjorn refer to andi's early_printk to create one early_uart. it took
> console=uart,io,0x3f8,9600n8
> or console=uart,mem,0xfxxx,115200n8.
> and it is called via console_init. --- it is not really early uart for
> platform other than ia64.
> ia64 call early_serial_console_init explicitly, so it is some early.
> but it needs to late_initcall to do console switch.
> 
> Gerd's patch  (console handover) was merged into mainline. it will
> switch from early_printk to normal console in register_console via
> CON_BOOT flags.. ===> only for x86
> 
> I produced one patch to change early_uart calling from console_init to
> early_param. So to make early_uart to real early_uart for all other
> platform in addition to ia64.
> it will take
> earlycon=uart,io,0x3f8,9600n8 console=ttyS0,9600n8
> 
> but Bjorn said that don't let the customer to key two times about
> console command line.
> Then come this patch. will take
> earlycon=uart,io,0x3f8,9600n8
> and it will switch to console ttyS0 automatically. ---- by calling
> add_preferred_console.
> 
> Still need Bjorn to:
> 1. remove early_serial_console_init call in ia64 setup_arch.
> 2. verify mem io 8250 compatiable card.
> 
> for 2, in x86 platform we need to use fix_to_virt and fix map to give
> it one fixed virtual address. == like Eric did for usb debug port
> console.
> 
> I will send out another in email about updated early dbgp console with
> current tree.

hm, OK.  I hope you guys have it under control ;)


With http://userweb.kernel.org/~akpm/config-vmm.txt I get

drivers/built-in.o:(.data+0x5790): undefined reference to `serial8250_find_port_for_earlycon'


  reply	other threads:[~2007-05-21  4:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19  2:00 [PATCH]serial: make early_uart to use early_prarm instead of console_initcall Yinghai Lu
2007-05-21  3:23 ` Andrew Morton
2007-05-21  4:29   ` Yinghai Lu
2007-05-21  4:46     ` Andrew Morton [this message]
2007-05-21  6:56       ` Yinghai Lu
2007-05-21 16:53         ` Bjorn Helgaas
2007-05-21 17:36           ` Yinghai Lu
2007-05-21 18:02             ` Bjorn Helgaas
2007-05-21 18:39               ` Yinghai Lu
2007-05-21 10:22     ` Gerd Hoffmann
2007-05-21 16:39       ` Yinghai Lu
2007-05-21 10:42   ` Andi Kleen
2007-05-21 16:27     ` Bjorn Helgaas
2007-05-21 16:27     ` Yinghai Lu
2007-05-21 16:27     ` 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=20070520214657.fcf5e9ce.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=ak@suse.de \
    --cc=bjorn.helgaas@hp.com \
    --cc=ebiederm@xmission.com \
    --cc=kraxel@redhat.com \
    --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