lkml.org 
[lkml]   [2010]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86: Setup early console as early as possible
    On 07/12/2010 01:58 AM, Pekka Enberg wrote:
    > Hi Yinghai,
    >
    > Yinghai Lu wrote:
    >> Analyze "console=uart8250,io,0x3f8,115200n8" in
    >> i386_start_kernel/x86_64_start_kernel,
    >> and call setup_early_serial8250_console() to init early serial console.
    >>
    >> only can handle io port kind of 8250. because mmio need ioremap.
    >>
    >> Signed-off-by: Yinghai Lu <yinghai@kernel.org>
    >
    > What's the purpose of this patch? Does it make my early boot I/O patch
    > obsolete?
    >
    > Pekka

    No, they're complementary. Your patch serial-port enables the RM
    kernel, whereas Yinghai pushes the initialization earlier in the PM kernel.

    Incidentally, Yinghai: it would be possible to push even an MMIO
    reference earlier by reserving a fixmap slot for the early console. I'm
    not sure if it's worth it, though.

    -hpa

    --
    H. Peter Anvin, Intel Open Source Technology Center
    I work for Intel. I don't speak on their behalf.



    \
     
     \ /
      Last update: 2010-07-12 17:51    [W:0.019 / U:11.872 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site