]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
powerpc: respect mem= setting for early memory limit setup
authorKumar Gala <galak@kernel.crashing.org>
Fri, 16 Sep 2011 15:39:58 +0000 (10:39 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 12 Oct 2011 04:30:40 +0000 (23:30 -0500)
commitba14f6491768acad5cf50a3c7dc8927b7614d692
treeb2a9d9fc14031f6ea6d844580557de4e6eed8a07
parent5c4a5b8de65d08a436d112307204542a4d559ee2
powerpc: respect mem= setting for early memory limit setup

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@kernel.crashing.org>
arch/powerpc/kernel/prom.c