Re: [PATCH v2] ARM: memblock limit must be pmd-aligned

2017-06-29 Thread Mark Rutland
On Tue, Jun 27, 2017 at 10:33:29AM -0700, Doug Berger wrote: > The pmd containing memblock_limit is cleared by prepare_page_table() > which creates the opportunity for early_alloc() to allocate unmapped > memory if memblock_limit is not pmd aligned causing a boot-time hang. > > Commit 965278dcb8ab

[PATCH v2] ARM: memblock limit must be pmd-aligned

2017-06-27 Thread Doug Berger
The pmd containing memblock_limit is cleared by prepare_page_table() which creates the opportunity for early_alloc() to allocate unmapped memory if memblock_limit is not pmd aligned causing a boot-time hang. Commit 965278dcb8ab ("ARM: 8356/1: mm: handle non-pmd-aligned end of RAM") attempted to re