From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2162606A322 for ; Fri, 4 Dec 2026 21:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=uTBdsVce; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WWX9b902 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Cc:To:Subject: From:Message-ID:MIME-Version:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=eQB9aV6e0IMh2yfN30GlpfFr+Zs10qor9YZmgT2O4MA=; b=uTBdsVcegTi4Igu9SBXcNjXH+a bC9Ji+yZTsiNXTkY7wx2i07o7uNflyHS06kT48xXuv91vQ5u/fznHpNUAq8k4Ah50aZR4U9odpOWg V4dGwPRK2NIHMHZ+0t0Rea0d0lDRVy9iD/ZC41N8KofNphmJSp4XvSdQmaqXVleJKwotvQ8odDZZ5 7JVxrwDMsU2UxuqBfyUhJXxVPg2EgSVyOfhJbBHsx0pzz8ZUAqTBsWVsveyCM6C9fv9K1vWahqwIH wuN/qp5E9rsd3O/KciHbTdVe8XwQXDL8gc2NEWvYS2IUAvPzqfxUmosFC33odJpav3XqsFXmQrNIv IwZMTDJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZaTY-00000001V91-19zq; Fri, 04 Dec 2026 21:05:52 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZaTU-00000001V8b-2SWz for kexec@lists.infradead.org; Fri, 04 Dec 2026 21:05:48 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 9CBDB60F0C; Fri, 4 Dec 2026 21:05:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CFB91F00936; Fri, 4 Dec 2026 21:05:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796418347; bh=eQB9aV6e0IMh2yfN30GlpfFr+Zs10qor9YZmgT2O4MA=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=WWX9b902G2/u4Vdxk482vJYcW/pkJ8ExqYShvLoaqHqZz+huyGTjJb5tkEOsDPfLi 4N+OYyM15UfQtH0lV1SIqnsiOilxegphNMdQl8vvFJ/C9FiB0xQvW3vrnYCn9laRi0 aHcEn4eNVeedgNryIlaIHzQZdxjbzKfmBFyZosjY8+vEe5IobnSCvz4d+X4YslC+ZB vwK/R9+WmrASRZUWE1jgavvRW0S+X4dlxstUqu/QB/aIFHMqzpjNeLzRnzVagaxL+4 EvJDHF3UkDpFVZqYtjY6KwVApNs/iVTSQpzhnopkQL6B1bADefscPKXgRG9O7Fsuir 8xaNfpAtnWagw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 3/3] Documentation: kdump: Mention that the crashkernel offset must be aligned To: "Chris Down" , "Andrew Morton" , "Baoquan He" , "Mike Rapoport" Cc: "Jonathan Corbet" , "Shuah Khan" , "Randy Dunlap" , "Pasha Tatashin" , "Pratyush Yadav" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "H. Peter Anvin" , kexec@lists.infradead.org, kernel-team@meta.com In-Reply-To: <75b211a9a4dbd50816719d1f5867d33259a4b662.1796416344.git.chris@chrisdown.name> References: <75b211a9a4dbd50816719d1f5867d33259a4b662.1796416344.git.chris@chrisdown.name> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 21:05:46 +0000 X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "kexec" X-Spam-Status: No, score=-11.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Low] docs: kdump.rst inaccurately claims s390 wastes space below aligned offset - [Low] docs: kernel-parameters.txt uses informal slang term cromulent -- commit a86c416e8179825cd40f250e0eaeb32cd11df0c7 Author: Chris Down Documentation: kdump: Mention that the crashkernel offset must be aligned This commit updates kdump.rst and kernel-parameters.txt to note that explicit crashkernel start addresses must be aligned on architectures using reserve_crashkernel_generic(), or no memory will be reserved. > diff --git a/Documentation/admin-guide/kdump/kdump.rst b/Documentation/ad= min-guide/kdump/kdump.rst > index 7587caadbae1a..7638881282aac 100644 > --- a/Documentation/admin-guide/kdump/kdump.rst > +++ b/Documentation/admin-guide/kdump/kdump.rst > @@ -264,10 +264,14 @@ crashkernel syntax > =20 > crashkernel=3D256M > =20 > - If the start address is specified, note that the start address of the > - kernel will be aligned to a value (which is Arch dependent), so if the > - start address is not then any space below the alignment point will be > - wasted. > + If the start address is specified, it has to be aligned to a value wh= ich > + is arch dependent. For example, it is 1MiB on x86, and 2MiB on arm64, > + loongarch, and 64-bit riscv. If it is not aligned properly, nothing w= ill > + be reserved. > + > + However, note well that on some architectures like s390, unaligned st= art > + addresses are rounded up instead, and so any space below the alignment > + point is simply wasted. [Severity: Low] Is the space below the alignment point actually wasted on s390, as stated here and in the commit message? In arch/s390/kernel/setup.c, reserve_crashkernel() aligns crash_base up before calling memblock_phys_alloc_range() and memblock_remove(). Only the aligned range is reserved and removed, so the memory below the alignment point remains usable RAM. [ ... ] > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentat= ion/admin-guide/kernel-parameters.txt > index dce9b8f3ae980..8a41b45b1e474 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -1061,7 +1061,9 @@ Kernel parameters > upon panic. This parameter reserves the physical > memory region [offset, offset + size] for that kernel > image. If '@offset' is omitted, then a suitable offset > - is selected automatically. > + is selected automatically. Some architectures require > + offset to be aligned, and will fail to reserve anything > + if the alignment is not cromulent. [Severity: Low] "cromulent" is informal pop-culture slang and may be unclear to non-native English readers of kernel-parameters.txt. Plain wording such as "if it is not properly aligned" would be clearer here. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/cover.1796416344.gi= t.chris@chrisdown.name?part=3D3