Unverified Commit 21138a06 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3722 add memmap interface to reserved memory

Merge Pull Request from: @ci-robot 
 
PR sync from: Ze Zuo <zuoze1@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/6VRQ2ZJVDNE5CGHBPIBJRS7IJS2756TI/ 
Add support for memmap kernel parameters for ARM64. The three below

memmap=exactmap
Enable setting of an exact memory map, as specified by the user.

memmap=nn[KMG]@ss[KMG]
Force usage of a specific region of memory.

memmap=nn[KMG]$ss[KMG]
Region of memory to be reserved is from ss to ss+nn, the region must
be in the range of existed memory, otherwise will be ignored.

Please note that the above functions are for debugging purposes only.

ChangeLog:
- Some minor changes about description and code, no functional changes

Ze Zuo (2):
  arm64: Add support for memmap kernel parameters
  arm64: Request resources for reserved memory via memmap


-- 
2.25.1
 
https://gitee.com/openeuler/kernel/issues/I8NIMB 
 
Link:https://gitee.com/openeuler/kernel/pulls/3722

 

Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents e909f976 ebc3ce2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment