Re: [PATCH v2] ARM: exynos: add debug_ll_io_init() call in exynos_init_io()

From: Olof Johansson
Date: Wed Jun 05 2013 - 17:27:04 EST


On Wed, Jun 5, 2013 at 1:56 PM, Doug Anderson <dianders@xxxxxxxxxxxx> wrote:
> If the early MMU mapping of the UART happens to get booted out of the
> TLB between the start of paging_init() and when we finally re-add the
> UART at the very end of s3c_init_cpu(), we'll get a hang at bootup if
> we've got early_printk enabled. Avoid this hang by calling
> debug_ll_io_init() early.
>
> Without this patch, you can reliably reproduce a hang when early
> printk is enabled by adding flush_tlb_all() at the start of
> exynos_init_io(). After this patch the hang goes away.
>
> Signed-off-by: Doug Anderson <dianders@xxxxxxxxxxxx>

Acked-by: Olof Johansson <olof@xxxxxxxxx>


Kukjin, this seems appropriate for 3.10. Do you have other fixes
queued or should I apply this directly?


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/