Re: kernel boot fail with efi earlyprintk (bisected)

2014-08-25 Thread Matt Fleming
On Mon, 25 Aug, at 05:06:19PM, Dave Young wrote: > > Problem is I do not understand the implementation detail yet. > > I did below changes: > > Original values: > #define NR_FIX_BTMAPS 64 > #define FIX_BTMAPS_SLOTS4 > > -> new values tested: > #define NR_FIX_BTMAPS 3

Re: kernel boot fail with efi earlyprintk (bisected)

2014-08-25 Thread Dave Young
rg; linux-kernel@vger.kernel.org; de...@acpica.org; > > l...@kernel.org; Wysocki, Rafael J; Moore, Robert > > Subject: Re: kernel boot fail with efi earlyprintk (bisected) > > > > On 08/22/14 at 06:02pm, Dave Young wrote: > > > On 08/21/14 at 09:52pm, Matt Fleming wrote:

RE: kernel boot fail with efi earlyprintk (bisected)

2014-08-24 Thread Zheng, Lv
i, Rafael J; Moore, Robert > Subject: Re: kernel boot fail with efi earlyprintk (bisected) > > On 08/22/14 at 06:02pm, Dave Young wrote: > > On 08/21/14 at 09:52pm, Matt Fleming wrote: > > > On Tue, 19 Aug, at 04:16:58PM, Dave Young wrote: > > > > Hi, > > > &g

Re: kernel boot fail with efi earlyprintk (bisected)

2014-08-24 Thread Dave Young
On 08/22/14 at 06:02pm, Dave Young wrote: > On 08/21/14 at 09:52pm, Matt Fleming wrote: > > On Tue, 19 Aug, at 04:16:58PM, Dave Young wrote: > > > Hi, > > > > > > 3.16 kernel boot fail with earlyprintk=efi on my laptop. > > > It keeps scrolling at the bottom line of screen. > > > > > > Bisected,

Re: kernel boot fail with efi earlyprintk (bisected)

2014-08-22 Thread Dave Young
On 08/22/14 at 05:55am, Zheng, Lv wrote: > Hi, > > I checked the arch/x86/platform/efi/early_printk.c. > In early_efi_scroll_up(), 2 mapping entries will be used for the src/dst > screen buffer. > In drivers/acpi/acpica/tbutils.c, we've improved the early table loading code > in acpi_tb_parse_ro

Re: kernel boot fail with efi earlyprintk (bisected)

2014-08-22 Thread Dave Young
On 08/21/14 at 09:52pm, Matt Fleming wrote: > On Tue, 19 Aug, at 04:16:58PM, Dave Young wrote: > > Hi, > > > > 3.16 kernel boot fail with earlyprintk=efi on my laptop. > > It keeps scrolling at the bottom line of screen. > > > > Bisected, the first bad commit is below: > > commit 86dfc6f339886559

RE: kernel boot fail with efi earlyprintk (bisected)

2014-08-21 Thread Zheng, Lv
Hi, I checked the arch/x86/platform/efi/early_printk.c. In early_efi_scroll_up(), 2 mapping entries will be used for the src/dst screen buffer. In drivers/acpi/acpica/tbutils.c, we've improved the early table loading code in acpi_tb_parse_root_table(). We now need 2 mapping entries: 1. One mappi

RE: kernel boot fail with efi earlyprintk (bisected)

2014-08-21 Thread Zheng, Lv
Hi, There is only limited entries in the x86 early mapping which is implemented by the FIXMAP. So this means for all __init call invoked for x86, if there was a early mapping in it, it should be unmapped before exiting the __init call. Using this rule, all __init call implementers can make sure

Re: kernel boot fail with efi earlyprintk (bisected)

2014-08-21 Thread Matt Fleming
On Tue, 19 Aug, at 04:16:58PM, Dave Young wrote: > Hi, > > 3.16 kernel boot fail with earlyprintk=efi on my laptop. > It keeps scrolling at the bottom line of screen. > > Bisected, the first bad commit is below: > commit 86dfc6f339886559d80ee0d4bd20fe5ee90450f0 > Author: Lv Zheng > Date: Fri A