From: Masayoshi Mizuma <[email protected]>

This kernel parameter allows to change the padding used for the physical
memory mapping section when KASLR memory is enabled.

For some systems, the default value, CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING,
is not enough. The option is useful to adjust the padding size to work
around such issue.

Signed-off-by: Masayoshi Mizuma <[email protected]>
---
 Documentation/admin-guide/kernel-parameters.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt 
b/Documentation/admin-guide/kernel-parameters.txt
index 533ff5c..d977091 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3382,6 +3382,13 @@
        ramdisk_size=   [RAM] Sizes of RAM disks in kilobytes
                        See Documentation/blockdev/ramdisk.txt.
 
+       rand_mem_physical_padding=
+                       [KNL] Define the padding size in terabytes
+                       used for the physical memory mapping section
+                       when KASLR memory is enabled.
+                       The default value is
+                       CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING.
+
        ras=option[,option,...] [KNL] RAS-specific options
 
                cec_disable     [X86]
-- 
2.18.0

Reply via email to