]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Support reserving memory with memmap=xxx$yyy
authorLarry Bassel <larry.bassel@oracle.com>
Wed, 31 Aug 2016 15:08:37 +0000 (09:08 -0600)
committerAllen Pais <allen.pais@oracle.com>
Thu, 15 Sep 2016 06:55:39 +0000 (12:25 +0530)
commitdb657833b9443d5c6afdc5bf50f76a200c2b5035
treef54e3c4ab16cf223aaa59998649cc69ffaa472ad
parent3c3c29ce5beb0ecd0ab93ce78644361689e53f32
sparc64: Support reserving memory with memmap=xxx$yyy

The kernel commandline parameter memmap= was supported
on several other architectures but not on SPARC (it was
being ignored on SPARC).

Add support for the memmap=xxx$yyy commandline parameter
(sparc64/UEK4 only). The patch is based on the existing
code for the "tile" architecture.

There are other types of memmap= commandlines which
are only supported on x86 that are e820-specific.
These were not implemented.

Orabug: 22662762

Signed-off-by: Larry Bassel <larry.bassel@oracle.com>
Reviewed-by: Khalid Aziz <khalid.aziz@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/mm/init_64.c