Re: kernel boot fail with efi earlyprintk (bisected)

From: Matt Fleming
Date: Mon Aug 25 2014 - 07:17:05 EST


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_SLOTS 4
>
> -> new values tested:
> #define NR_FIX_BTMAPS 32
> #define FIX_BTMAPS_SLOTS 8
>
>
> There's below comments
> /*
> * 256 temporary boot-time mappings, used by early_ioremap(),
> * before ioremap() is functional.
> *
> * If necessary we round it up to the next 256 pages boundary so
> * that we can have a single pgd entry and a single pte table:
> */
>
> So seems increase it to 64 * 8 = 512 should be ok. If it's fine I can test again
> and post a patch.

Make sure you include the x86 maintainers on Cc if you change these
values.

--
Matt Fleming, Intel Open Source Technology Center
--
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/