Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Yinghai Lu
On 5/21/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: early_param("console", setup_early_console); and have setup_early_console() ignore everything except "uart"? console= is used __setup("console=", console_setup); early_param doesn't have chance to see it. YH - To unsubscribe from this lis

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Bjorn Helgaas
On Monday 21 May 2007 11:36:58 am Yinghai Lu wrote: > On 5/21/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > > earlycon=uart,io,0x3f8,9600n8 > > > earlycon=uart,io,0x3f8,9600n8 console=tty0 > > > earlycon=uart,mmio,0xff5e,115200n8 > > > > Why do we have to have a new "earlycon" argument? Why

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Yinghai Lu
On 5/21/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > earlycon=uart,io,0x3f8,9600n8 > earlycon=uart,io,0x3f8,9600n8 console=tty0 > earlycon=uart,mmio,0xff5e,115200n8 Why do we have to have a new "earlycon" argument? Why can't we just parse "console=uart" early? with console=uart, you nee

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Bjorn Helgaas
is case, maybe bt_ioremap() would be more appropriate than fixmap, since there's no requirement that virtual address be known at compile-time. > [PATCH]serial: make early_uart to use early_prarm instead of console_initcall s/prarm/param/ > new command line will be > > earlycon=uart,io,

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Yinghai Lu
On 5/21/07, Gerd Hoffmann <[EMAIL PROTECTED]> wrote: What is the point in making that work on x86 additionally to serial support in early_printk? It might make sense to split away the serial bits from early_printk.c and move them out of arch/ into -- say -- drivers/serial/, so other architecture

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Bjorn Helgaas
On Monday 21 May 2007 04:42:21 am Andi Kleen wrote: > On Sun, May 20, 2007 at 08:23:32PM -0700, Andrew Morton 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,

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Yinghai Lu
Andi Kleen wrote: It is someone's reimplemention of earlyprintk= for another architecture that happens to mostly work on x86 too because the code is not ifdeffed. I don't think it makes much sense on x86 though because earlyprintk exists. Andi, Bjorn refer to your early_printk to implement ea

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Bjorn Helgaas
On Monday 21 May 2007 04:42:21 am Andi Kleen wrote: > On Sun, May 20, 2007 at 08:23:32PM -0700, Andrew Morton 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,

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Gerd Hoffmann
Yinghai Lu wrote: 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 Tagging boot consoles (aka early_printk) with CON_BOOT certainly makes sense. Just doing that doesn't work

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-21 Thread Andi Kleen
On Sun, May 20, 2007 at 08:23:32PM -0700, Andrew Morton wrote: > On Fri, 18 May 2007 19:00:16 -0700 Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > [PATCH]serial: make early_uart to use early_prarm instead of > > console_initcall > > > > Make early_uart to use

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-20 Thread Yinghai Lu
e Bjorn, I can not find fixmap.h for ia64.hope you can use ioremap instead, then we can create one dummy fixmap.h in include/asm-ia64 [PATCH]serial: make early_uart to use early_prarm instead of console_initcall Make early_uart to use early_param, so uart console can be used earlier. Ma

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-20 Thread Andrew Morton
On Sun, 20 May 2007 21:29:20 -0700 "Yinghai Lu" <[EMAIL PROTECTED]> wrote: > On 5/20/07, Andrew Morton <[EMAIL PROTECTED]> 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 e

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-20 Thread Yinghai Lu
On 5/20/07, Andrew Morton <[EMAIL PROTECTED]> 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

Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-20 Thread Andrew Morton
On Fri, 18 May 2007 19:00:16 -0700 Yinghai Lu <[EMAIL PROTECTED]> wrote: > [PATCH]serial: make early_uart to use early_prarm instead of console_initcall > > Make early_uart to use early_param, so uart console can be used earlier. > Make it to be bootconsole with CON_BOOT flag,

[PATCH]serial: make early_uart to use early_prarm instead of console_initcall

2007-05-18 Thread Yinghai Lu
[PATCH]serial: make early_uart to use early_prarm instead of console_initcall Make early_uart to use early_param, so uart console can be used earlier. Make it to be bootconsole with CON_BOOT flag, so can use console handover feature. and it will switch to corresponding normal serial console