Patchwork [2/2] UBUNTU: [Config] Enable CONFIG_VMSPLIT_2G=y for OMAP4

login
register
mail settings
Submitter Bryan Wu
Date Sept. 24, 2010, 3:21 a.m.
Message ID <1285298463-2764-3-git-send-email-bryan.wu@canonical.com>
Download mbox | patch
Permalink /patch/65620/
State Rejected
Delegated to: Leann Ogasawara
Headers show

Comments

Bryan Wu - Sept. 24, 2010, 3:21 a.m.
BugLink: http://bugs.launchpad.net/bugs/#633227

The default vm split is 3G:1G user:kernel, which will put 120M memory as
highmem in our OMAP4 Panda ES2.0. Highmem is not very stable currently,
we will meet the Bus Error bug when building kernel package on ES2.0.

This patch is a workaround, which let us to use full of 1G memory but
size of highmem is 0K with 2G:2G split. It's quite stable because
highmem is not active.

When we find the root cause and final fixing, we can switch back to
3G:1G normal split config.

Tested-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
---
 debian.ti-omap4/config/config.common.ubuntu |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu
index 8d46b55..4087525 100644
--- a/debian.ti-omap4/config/config.common.ubuntu
+++ b/debian.ti-omap4/config/config.common.ubuntu
@@ -1936,7 +1936,7 @@  CONFIG_P54_SPI=m
 CONFIG_P54_USB=m
 CONFIG_PACKET=y
 CONFIG_PAGEFLAGS_EXTENDED=y
-CONFIG_PAGE_OFFSET=0xC0000000
+CONFIG_PAGE_OFFSET=0x80000000
 # CONFIG_PAGE_POISONING is not set
 CONFIG_PANEL=m
 # CONFIG_PANEL_CHANGE_MESSAGE is not set
@@ -3044,8 +3044,8 @@  CONFIG_VITESSE_PHY=m
 CONFIG_VLAN_8021Q=m
 CONFIG_VLAN_8021Q_GVRP=y
 # CONFIG_VMSPLIT_1G is not set
-# CONFIG_VMSPLIT_2G is not set
-CONFIG_VMSPLIT_3G=y
+CONFIG_VMSPLIT_2G=y
+# CONFIG_VMSPLIT_3G is not set
 CONFIG_VM_EVENT_COUNTERS=y
 CONFIG_VT=y
 # CONFIG_VT6656 is not set