From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796384195; b=NZ9MLw7aoP0wE+TBfuNOGN6O1uuXEInmo2QLseeWSy0zba/haAirU16KzHOG/TcQ+Yl7 KSElR2VXiQ9cpo1MJe9WnYdd6yWRTP7ua/8v06t8bqXctHv44UcDs3x/pYY4hnJWxX6vw 4o9wFRpdWGe/2aSOEru81OBpYEZSnh0GHICrFE7QO7ryISCvh1COov2FrbkV7FlO7qnCV xvX2OCJz4A8NCZD6AgZMLoGSq28AQyWoE4xx0dy4myGar6rMBaqv9++OWBNsDLK1FrNBs yMQNCfKZPkUvUffZkbMs37ziEm8RFxhyqwv9fqEKkMu3rkU09Gm4KijhlYv74lCoM5A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796384195; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=nGtBgJZoMhlxEA2pqwl/Wouar6LWasZ032PF2gdoI1g=; b=nZSr5eXJe7X1u3KUYPL6zDQxoLsDu/t9W60MuyAlm78Rq7lc0s9xbIeYW8/srERWwHas QwKjTaxbzCcZLF6L6eR7SHh1t62S7Uw0fZJ++yzwEgK9j7FKmaj9orE0QIYrOU9sYSfe0 gbFSS3IGivH8RpYzZPnhuw2UQfCWNbsxW/dcDGm+IOvhSibktwTzqFRNJ8PAOsIFC3D0z tnCf6/jUjAgsoZ3D1uC9dbKeqft/L4M/ye9EgmsKvfnjOi7ST8qdFVb8Fm5FG27CWcLFn goSGHxyDpYORoWgwN6uNIl/WhfeRTBU2wiF0mdt3Iz7bV7jv9zN5e3w1D63ld/vhhuw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h8iJeLoI; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFFFF606A32C for ; Fri, 4 Dec 2026 11:36:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h8iJeLoI Received: by smtp.kernel.org (Postfix) with ESMTPSA id F18E91F000CE; Fri, 4 Dec 2026 11:36:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796384194; bh=nGtBgJZoMhlxEA2pqwl/Wouar6LWasZ032PF2gdoI1g=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=h8iJeLoIzqxiluxS+rMJ/aeMx8NPRb4yhnTitOo4t4by9+H3LNimHGAb3xNahkWYM pUbwndCfy7P42g0LZy/mTHsEv2N5h7uUf/gWFazKB3kyK0FbLhCZyQLjsHgLQHydBF gaJP0YoyxG2EJ3nvpSgVgQm094Q9/iuXWVc0xBcaXRy4Nq4+e+ZDhhjprnsIukD4jd J5d+8/2zAefJMG2vl84vf+6cYGIZzXO6fhRW2UgzwajEUV4dZ5ZW6C5qyDeiyPbCPj TI+Fkypni3XUF0i0aC9OKHFN0UpiKOG4gQgTBZADpYMXKWSOQd3H4yTZ8tRxL8w5x8 Y2zH/aj+OyaEg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2] Documentation: kernel-parameters: memmap= and mem= in confidential guests Reply-To: sashiko-reviews@lists.linux.dev To: "Pankaj Gupta" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "Jonathan Corbet" , "Shuah Khan" , rdunlap@infradead.org Cc: "Arnd Bergmann" , "Dapeng Mi" , "Marco Elver" , "H . Peter Anvin" , "Tom Lendacky" , "Ard Biesheuvel" , "Kiryl Shutsemau" , "Ilias Apalodimas" , "Mike Rapoport" , linux-mm@kvack.org, linux-efi@vger.kernel.org, Pankaj.gupta.linux@gmail.com, "Ethan Nelson-Moore" , "Karl Mehltretter" In-Reply-To: <20261203113547.250526-1-pankaj.gupta@amd.com> References: <20261203113547.250526-1-pankaj.gupta@amd.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 11:36:32 +0000 X-Mailing-List: linux-efi@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Low] Documentation: memmap=3D best-effort warning omits hole-creating variants - [Low] Documentation: commit subject mentions confidential guests absent from diff -- commit 375ba6787248885f8395ae9c50ef874b593daa3b Author: Pankaj Gupta Documentation: kernel-parameters: memmap=3D and mem=3D in confidential gues= ts This commit documents in Documentation/admin-guide/kernel-parameters.txt that the mem=3D and memmap=3D boot parameters are best effort and may break consistency among platform firmware memory descriptions. Link: https://lore.kernel.org/all/96be8f5a-8f65-48ff-8263-1d5d5f706354@inte= l.com/ > Documentation: kernel-parameters: memmap=3D and mem=3D in confidential gu= ests [Severity: Low] Should the commit subject be updated to match the generalized change? The documentation text no longer mentions confidential guests, so a subject stating that mem=3D and memmap=3D are best effort would better match the diff while keeping confidential guests in the body as motivation. > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentat= ion/admin-guide/kernel-parameters.txt > index dce9b8f3ae980..9636e662fed1f 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt [ ... ] > @@ -3971,6 +3975,10 @@ Kernel parameters > Example: > memmap=3D100M@2G,100M#3G,1G!1024G > =20 > + This option is best effort and may break the mutual > + consistency of the various memory descriptions provided > + by the platform firmware. > + > memmap=3Dnn[KMG]#ss[KMG] > [KNL,ACPI,EARLY] Mark specific memory as ACPI data. > Region of memory to be marked is from ss to ss+nn. [Severity: Low] Does this note miss the hole-creating memmap=3D variants? The wording says "This option" and sits only under memmap=3Dnn[KMG]@ss[KMG], which adds RAM. The hole-creating forms like memmap=3Dnn[KMG]$ss[KMG] (and the #, !, and % entries) have no warning or cross-reference back here, so users configuring those variants will miss the caveat. Rewording this to apply to all memmap=3D forms and cross-referencing it from the other entries (as memmap=3Dexactmap does) would ensure all variants are covered. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203113547.2505= 26-1-pankaj.gupta@amd.com?part=3D1