[PATCH] ARM: ux500: Enable HIGHMEM in the u8540 defconfig

Subsystems: arm port, the rest

STALE4867d

2 messages, 2 authors, 2013-06-04 · open the first message on its own page

[PATCH] ARM: ux500: Enable HIGHMEM in the u8540 defconfig

From: Lee Jones <hidden>
Date: 2013-05-31 15:09:23

In order to utilise all of the memory located on ux500 based devices
we have to enable HIGHMEM. Without it the kernel truncates memory down
to what's left after the PAGE_OFFSET has been applied, which doesn't
leave an awful lot, especially if we're running large rootfs' such
as full Linux desktop distributions or Android.

Signed-off-by: Lee Jones <redacted>
---
 arch/arm/configs/u8500_defconfig |    1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig
index 2d322d2..38d633a 100644
--- a/arch/arm/configs/u8500_defconfig
+++ b/arch/arm/configs/u8500_defconfig
@@ -1,3 +1,4 @@
+CONFIG_HIGHMEM=y
 # CONFIG_SWAP is not set
 CONFIG_SYSVIPC=y
 CONFIG_NO_HZ=y
-- 
1.7.10.4

Re: [PATCH] ARM: ux500: Enable HIGHMEM in the u8540 defconfig

From: Linus Walleij <hidden>
Date: 2013-06-04 09:19:41

On Fri, May 31, 2013 at 5:09 PM, Lee Jones [off-list ref] wrote:
In order to utilise all of the memory located on ux500 based devices
we have to enable HIGHMEM. Without it the kernel truncates memory down
to what's left after the PAGE_OFFSET has been applied, which doesn't
leave an awful lot, especially if we're running large rootfs' such
as full Linux desktop distributions or Android.

Signed-off-by: Lee Jones <redacted>
Patch applied, but I renamed the topic arch to u8500
as the defconfig is named as such.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help