[PATCH V2] ARM: OMAP2+: Round of the carve out memory requested to section_size
Tony Lindgren
tony at atomide.com
Mon Oct 8 17:05:42 EDT 2012
* Shilimkar, Santosh <santosh.shilimkar at ti.com> [120927 23:35]:
> On Wed, Sep 12, 2012 at 12:44 PM, R Sricharan <r.sricharan at ti.com> wrote:
> > memblock_steal tries to reserve physical memory during boot.
> > When the requested size is not aligned on the section size
> > then, the remaining memory available for lowmem becomes
> > unaligned on the section boundary. There is a issue with this,
> > which is discussed in the thread below.
> >
> > https://lkml.org/lkml/2012/6/28/112
> >
> > The final conclusion from the thread seems to
> > be align the memblock_steal calls on the SECTION boundary.
> > The issue comes out when LPAE is enabled, where the
> > section size is 2MB.
> >
> > Boot tested this on OMAP5 evm with and without LPAE.
> >
> > Signed-off-by: R Sricharan <r.sricharan at ti.com>
> > ---
> > [V2] Corrected the subject and added one more description line.
> >
> Looks good.
> Acked-by : Santosh Shilimkar <santosh.shilimkar at ti.com>
>
> Tony,
> Can you take this into your next "fixes-noncritical" queue please ?
Applying it now into fixes for the -rc cycle.
Regards,
Tony
More information about the linux-arm-kernel
mailing list