Re: BUG: 1bbbbe7 (x86: Exclude E820_RESERVED regions...) PANIC on boot

From: Yinghai Lu
Date: Mon Oct 22 2012 - 19:35:14 EST


On Mon, Oct 22, 2012 at 2:27 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>>
>> We never know that bios guys will not let bios produce crazy e820 map.
>>
>
> Yeah, well, that just *will* happen... that's a given.
>
> We can trim those ranges, though. Who cares if we lose some RAM.
>

please check attached two patches that handle partial pages for 3.7.

and you still need patch in
https://lkml.org/lkml/2012/8/24/469

to address early page table size calculation problem for Tom Rini

Thanks

Yinghai

Attachment: memblock_trim_memory.patch
Description: Binary data

Attachment: use_for_each_mem_pfn_range_setup.patch
Description: Binary data