]> git.ipfire.org Git - thirdparty/linux.git/commit - arch/xtensa/kernel/setup.c
xtensa: handle memmap kernel option
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 21 Mar 2014 17:04:40 +0000 (21:04 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 1 Apr 2014 21:35:54 +0000 (01:35 +0400)
commit06bd2824f7dcbfb8dcd13519239a53d13298d238
tree249b0b2ae6c1b088c358b8b150dabe2b839c16db
parent6232791833785ae591b211609f6f7c4faa7c6e55
xtensa: handle memmap kernel option

This option is useful for reserving memory regions for secondary cores
in AMP configurations.

Implement the following memmap variants:
- memmap=nn[KMG]@ss[KMG]: force usage of a specific region of memory;
- memmap=nn[KMG]$ss[KMG]: mark specified memory as reserved;
- memmap=nn[KMG]: set end of memory.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c
arch/xtensa/mm/init.c