linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] ARM: pxa: Fix out of vmalloc space bug
@ 2014-04-09 18:08 Laurent Pinchart
  2014-04-09 18:08 ` [PATCH v3 1/4] ARM: pxa: Don't hardcode addresses and size in map_desc tables Laurent Pinchart
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Laurent Pinchart @ 2014-04-09 18:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

(Resending due to a typo in an e-mail address that caused LAKML to reject the
mails. Sorry about the noise.)

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

Ezequiel Garcia (1):
  ARM: pxa: Move iotable mapping inside vmalloc region

Laurent Pinchart (3):
  ARM: pxa: Don't hardcode addresses and size in map_desc tables
  ARM: pxa: Move UNCACHED_PHYS_0 mapping from generic.c to pxa2[57]x.c
  ARM: pxa: pxa27x: Don't map IMEMC region statically

 arch/arm/mach-pxa/generic.c               | 11 +++--------
 arch/arm/mach-pxa/include/mach/hardware.h |  4 ++--
 arch/arm/mach-pxa/pxa25x.c                |  7 ++++++-
 arch/arm/mach-pxa/pxa27x.c                | 10 +++++-----
 arch/arm/mach-pxa/pxa3xx.c                |  2 +-
 5 files changed, 17 insertions(+), 17 deletions(-)

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-11 11:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-09 18:08 [PATCH v3 0/4] ARM: pxa: Fix out of vmalloc space bug Laurent Pinchart
2014-04-09 18:08 ` [PATCH v3 1/4] ARM: pxa: Don't hardcode addresses and size in map_desc tables Laurent Pinchart
2014-04-09 18:08 ` [PATCH v3 2/4] ARM: pxa: Move UNCACHED_PHYS_0 mapping from generic.c to pxa2[57]x.c Laurent Pinchart
2014-04-09 18:08 ` [PATCH v3 3/4] ARM: pxa: pxa27x: Don't map IMEMC region statically Laurent Pinchart
2014-04-09 18:08 ` [PATCH v3 4/4] ARM: pxa: Move iotable mapping inside vmalloc region Laurent Pinchart
2014-04-09 19:05 ` [PATCH v3 0/4] ARM: pxa: Fix out of vmalloc space bug Nicolas Pitre
2014-04-11  0:14   ` Laurent Pinchart
2014-04-11  0:31     ` Nicolas Pitre
2014-07-10 12:10       ` Ezequiel Garcia
2014-07-10 16:56         ` Olof Johansson
2014-07-11 11:00           ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).