[PATCH 1/2] powerpc: respect mem= setting for early memory limit setup

Kumar Gala galak at kernel.crashing.org
Wed Oct 12 15:29:54 EST 2011


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 <galak at kernel.crashing.org>
> ---
> arch/powerpc/kernel/prom.c |    5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)

applied

- k


More information about the Linuxppc-dev mailing list