From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 80778B6F76 for ; Wed, 12 Oct 2011 15:29:57 +1100 (EST) Subject: Re: [PATCH 1/2] powerpc: respect mem= setting for early memory limit setup Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: Kumar Gala In-Reply-To: <1316187599-27549-1-git-send-email-galak@kernel.crashing.org> Date: Tue, 11 Oct 2011 23:29:54 -0500 Message-Id: References: <1316187599-27549-1-git-send-email-galak@kernel.crashing.org> To: Kumar Gala Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sep 16, 2011, at 10:39 AM, Kumar Gala wrote: > For those MMUs that have some form of bolt'd linear mapping (TLB) > required its rare that one ever sets mem= smaller than the size of that > mapping. > > However, on Book-E 64 parts the initial linear mapping is quite large > (1G) so its quite reasonable that mem= is set smaller than that. > > We need to parse the command line for mem= limit and constrain the > amount of memory we map initially by it if need be. > > Signed-off-by: Kumar Gala > --- > arch/powerpc/kernel/prom.c | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) applied - k