Re: [PATCH v8 5/5] document: add document for kaslr_mem

From: Chao Fan
Date: Fri Jan 19 2018 - 00:28:58 EST


On Fri, Jan 19, 2018 at 11:53:31AM +0800, Baoquan He wrote:
>On 01/19/18 at 11:36am, Chao Fan wrote:
>> Signed-off-by: Chao Fan <fanc.fnst@xxxxxxxxxxxxxx>
>> ---
>> Documentation/admin-guide/kernel-parameters.txt | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
>> index e2de7c006a74..28a879f62560 100644
>> --- a/Documentation/admin-guide/kernel-parameters.txt
>> +++ b/Documentation/admin-guide/kernel-parameters.txt
>> @@ -2350,6 +2350,16 @@
>> allocations which rules out almost all kernel
>> allocations. Use with caution!
>>
>> + kaslr_mem=nn[KMG][@ss[KMG]]
>> + [KNL] Force usage of a specific region of memory
>> + for KASLR during kernel decompression stage.
>> + Region of usable memory is from ss to ss+nn. If ss
>> + is omitted, it is qeuivalent to kaslr_mem=nn[KMG]@0.
>> + Multiple regions can be specified, comma delimited.
>> + Notice: we support 4 regions at most now.
>
>Better not use 'we' here. You can refer to kernel-parameter.txt.

You are right, so I resend this part, and add several Cc.

Thanks,
Chao Fan
>
>> + Example:
>> + kaslr_mem=1G,500M@2G,1G@4G
>> +
>> MTD_Partition= [MTD]
>> Format: <name>,<region-number>,<size>,<offset>
>>
>> --
>> 2.14.3
>>
>>
>>
>
>