Re: [PATCH v2] Documentation: kernel-parameters: memmap= and mem= in confidential guests

From: Gupta, Pankaj

Date: Fri Dec 04 2026 - 06:09:21 EST



diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index dce9b8f3ae98..9636e662fed1 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3930,6 +3930,10 @@ Kernel parameters
in above case 3, memory may need be hot added after boot
if system memory of hypervisor is not sufficient.
+ This option is best effort and may break the mutual
+ consistency of the various memory descriptions provided
+ by the platform firmware.
+
I'd move it out of x86 part to [KNL,BOOT,EARLY].

mem=nn[KMG]@ss[KMG]
[ARM,MIPS,EARLY] - override the memory layout
reported by firmware.
@@ -3971,6 +3975,10 @@ Kernel parameters
Example:
memmap=100M@2G,100M#3G,1G!1024G
+ This option is best effort and may break the mutual
+ consistency of the various memory descriptions provided
+ by the platform firmware.
+
And here I'd mention that other memmap= variants are treated the same.

Addressed both suggestions in v3.

Thanks,

Pankaj