[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201009221222.00475.bjorn.helgaas@hp.com>
Date: Wed, 22 Sep 2010 12:21:59 -0600
From: Bjorn Helgaas <bjorn.helgaas@...com>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: mingo@...hat.com, linux-kernel@...r.kernel.org, yinghai@...nel.org,
just.for.lkml@...glemail.com, tglx@...utronix.de,
hpa@...ux.intel.com, Feng Tang <feng.tang@...el.com>,
Alan Cox <alan@...ux.intel.com>, greg@...ah.com
Subject: Re: Early console confusion
On Wednesday, September 22, 2010 10:53:27 am H. Peter Anvin wrote:
> On 09/22/2010 09:44 AM, Bjorn Helgaas wrote:
> >
> > If we don't like "uart8250,io,0x3f8" (which I agree is awfully clunky),
> > we could easily add something like "console=com1" which encapsulated
> > the well-defined PC concept.
>
> console=ttyS0 ... already works fine.
Yes, but it doesn't give you early output. You have to wait until the
8250 driver loads and figures out which device will be ttyS0.
If we use "console=tty0" or "console=ttyS0", those are device names
that don't work until the driver is loaded. But if we specify the
device explicitly, via "uart8250", "com1", "hsu", "vga", etc., we
can make the console work early using a minimal driver, then switch
to the regular driver later.
The question is whether that would be good enough to let us remove
the "earlycon=" and "earlyprintk=" stuff.
> But yes, it's ugly and we have bass-ackwards compatibility problem...
I think earlycon and earlyprintk have minimal backwards compatibility
problems, since they're mostly for developers. And if we decided
we did need to keep them, they could be undocumented and implemented
on top of "console=" with the appropriate explicit device.
I guess this is all just hot air since I don't have time to actually
produce any patches :-(
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists