[PATCH v4 0/4] ARM: pxa: Fix out of vmalloc space bug

Olof Johansson olof at lixom.net
Sat Jul 12 09:53:17 PDT 2014


On Fri, Jul 11, 2014 at 01:00:35PM +0200, Laurent Pinchart wrote:
> Hello,
> 
> This patch set reworks Ezequiel Garcia's previous fix [1] of an out of vmalloc
> space bug on PXA2[57]x platforms caused by an attempt to map the start of
> physical uncached outside of the vmalloc space.
> 
> This first three patches perform a couple of cleanups, and the last patch
> fixes the problem. I've decided to map the memory at address 0xfe000000 to
> minimize changes to the code, but this causes a bit of fragmentation of
> vmalloc space. I could map it to the very end of vmalloc space (0xfef00000)
> instead if preferred, which would involve replacing a mov by an ldr in
> pxa2[57]x_finish_suspend and pm_enter_standby_start.
> 
> I've tested the patch set on a PXA270-based system.
> 
> [1] https://lkml.org/lkml/2013/11/28/474
> 
> Compared to v3, the patches have been rebased on top of v3.16-rc5. Olof, could
> you please pick them up for v3.17 ?

Thanks, applied to next/cleanup (since we're collecting some of the for-3.17
fixes there too.


-Olof



More information about the linux-arm-kernel mailing list