[PATCH] ARM: mm: use phys_addr_t for physical address when populating pud

Will Deacon will.deacon at arm.com
Tue Feb 26 07:17:48 EST 2013


On Tue, Feb 26, 2013 at 08:42:46AM +0000, Santosh Shilimkar wrote:
> Will,

Hi Santosh,

> On Monday 25 February 2013 08:46 PM, Will Deacon wrote:
> > When creating our initial mappings, we call alloc_init_pud, which
> > simply defers to alloc_init_section for mappings at the pmd level.
> >
> > However, the physical address passed to alloc_init_pud is potentially
> > truncated to unsigned long, which could cause problems on systems making
> > use of LPAE.
> >
> > This patch fixes the function prototype to use phys_addr_t.
> >
> > Cc: <stable at vger.kernel.org>
> > Signed-off-by: Will Deacon <will.deacon at arm.com>
> > ---
> There is already a similar patch [1] on list which was suppose
> to get merged in 3.9 from Cyril's series [2]

Nice, that series contains a number of similar fixes too. However, I can't
see anywhere destined for upstream.

Cyril -- what's the status on this branch?

Cheers,

Will



More information about the linux-arm-kernel mailing list