From patchwork Wed Aug 24 22:25:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 111431 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DC1B3B6F72 for ; Thu, 25 Aug 2011 08:25:57 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QwLtO-0007H5-VP; Wed, 24 Aug 2011 22:25:51 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QwLtO-00012v-Ed; Wed, 24 Aug 2011 22:25:50 +0000 Received: from mail-gy0-f177.google.com ([209.85.160.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QwLtK-00012c-S8 for linux-arm-kernel@lists.infradead.org; Wed, 24 Aug 2011 22:25:47 +0000 Received: by gyh20 with SMTP id 20so1502329gyh.36 for ; Wed, 24 Aug 2011 15:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=gG8UiavaYw8+Sv1dSgZWNcsKR6i/vXgw9Pb00+0SAEo=; b=pvKEUXVYyyDa0/zO9R7zlHAIrjU7adtMe0C4X+M3AGWOiL7pASCxL3KJUS2IlOapkf 15PZf2Qxatbks2HgexW8Wjkyn4qFknMB2CxjuSvhkXHp9JtXbeXVchAsmIjFPuKSvoae q3VGo4hBR3H+4DKe9xVO1U7XhYvtTP70eQQzg= Received: by 10.236.125.137 with SMTP id z9mr3952520yhh.3.1314224742507; Wed, 24 Aug 2011 15:25:42 -0700 (PDT) Received: from localhost.localdomain ([201.82.76.9]) by mx.google.com with ESMTPS id z29sm573637yhn.72.2011.08.24.15.25.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Aug 2011 15:25:41 -0700 (PDT) From: Fabio Estevam To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: mx5: Enable HIGHMEM Date: Wed, 24 Aug 2011 19:25:35 -0300 Message-Id: <1314224735-6343-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.6.0.4 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110824_182547_194814_0B2E951E X-CRM114-Status: GOOD ( 12.76 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_TO_NO_BRKTS_FREEMAIL To: misformatted and free email service Cc: Fabio Estevam , Fabio Estevam , kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org MX53 is capable of addressing up to 1GB of RAM. Select CONFIG_HIGHMEM so that the full 1GB can be detected by the kernel. and we avoid getting the following message: Ignoring RAM at b0000000-cfffffff (vmalloc region overlap) Signed-off-by: Fabio Estevam --- Sascha, As suggested by Russel I enabled HIGHMEM so that we can get the whole 1GB available on MX53. I don't have my hardware handy right now to test it, but I am sending you this patch so that you can select this one or the previous that selects CONFIG_VMSPLIT_2G. arch/arm/configs/mx5_defconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/mx5_defconfig b/arch/arm/configs/mx5_defconfig index ede3cc2..8eec865 100644 --- a/arch/arm/configs/mx5_defconfig +++ b/arch/arm/configs/mx5_defconfig @@ -30,6 +30,7 @@ CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_PREEMPT_VOLUNTARY=y CONFIG_AEABI=y +CONFIG_HIGHMEM=y # CONFIG_OABI_COMPAT is not set CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"