ARM: pxa: Move iotable mapping inside vmalloc region
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 11 Jul 2014 11:00:39 +0000 (13:00 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 12 Jul 2014 16:51:45 +0000 (09:51 -0700)
In order to remove the following ugly message:

  BUG: mapping for 0x00000000 at 0xff000000 out of vmalloc space

the iotable mappings should be re-located inside the vmalloc
region. Such move was introduced at commit:

commit 0536bdf33faff4d940ac094c77998cfac368cfff
Author: Nicolas Pitre <nicolas.pitre@linaro.org>
Date:   Thu Aug 25 00:35:59 2011 -0400

    ARM: move iotable mappings within the vmalloc region

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
[laurent.pinchart@ideasonboard.com: Hardcode the virtual address]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-pxa/include/mach/hardware.h

index efb3965..8d63c21 100644 (file)
@@ -19,7 +19,7 @@
  * Workarounds for at least 2 errata so far require this.
  * The mapping is set in mach-pxa/generic.c.
  */
-#define UNCACHED_PHYS_0                0xff000000
+#define UNCACHED_PHYS_0                0xfe000000
 #define UNCACHED_PHYS_0_SIZE   0x00100000
 
 /*