Message ID | 20231005171747.541123-1-paulmck@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp452114vqb; Thu, 5 Oct 2023 10:24:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1hfXd+l5Bn7mv0TjvhN4B/vZxXQAnwgcD2nbjw7U7P0SLUtbyUsJ2pgyTaje6cGIICPpy X-Received: by 2002:a05:6a20:3204:b0:164:c705:3843 with SMTP id hl4-20020a056a20320400b00164c7053843mr5158181pzc.39.1696526650638; Thu, 05 Oct 2023 10:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696526650; cv=none; d=google.com; s=arc-20160816; b=c2xD7ima+1Fj5GiO7gQ0A9+Ij5fOGH+wTJnk5MNPGPqR85gU5Uapqv1pU9YceEUPx6 qa3m2+eP/EUEcachXqqkyHRTRDJLycbGSECnr81rVzcWFJ4CLg4wXl3ppY5h8JQzQwYQ diH0OAIwNrPgT1lon3YSfUwTsfVuegIhdbAZkrzxI6ALKSN8sjblH4UsrD3/yPPtZhN0 KwU4QitKhX4r7TeXKntcvZ2vP3qEpsIyBFGqSWrBQDvdafX9Bf7LeAlR73Kpz9/NQBdL huz+W3ssfTxbY3WOWbTdLrbwph7RglcFUAHoqweKcOCVJZP/0OuZaHOeirBQhhdU20QS owSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2znrZODnNF4+GyNpymSiWDS2wqgo1t0TyqKP7cyNCgA=; fh=/06Pzk3a421g+sC6a9+V///vXt395QDULa2MDaugfpU=; b=KwbeNBafVKVOX8+UrlBH9/w8ZeRG+pAYrtYQ8ywJg6AIrJxslUyCZH6eRhfzWA24HH 6X44a3wFltJ89dZJRFtuMoTTYHSx9b93w57/lB4UihfowXdhjbamviS0p0omWO3TvLEm 7JyUIWxoEq/fZU1gNt53W5F6+/uBQAMOWjlWeWp4hSV8lrsRtWZD8y9dWWorTBfi12b7 wlQLwNbdoerPKe0xyR3nk2HeHZ9CYnEA8oVNsDPdCZm8u4mrssBUK2xCIzzHkb1vk5Fq +sv45mZleNvM+M5vmxci3Z7Ezd5z5WgtzRrpoLa3dNpMdJbH4nr7hMuJmetjUss2AoEy 6XMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EVEF7H0n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id d4-20020a633604000000b00578a44df6c1si1850714pga.640.2023.10.05.10.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 10:24:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EVEF7H0n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D9872801B8A5; Thu, 5 Oct 2023 10:24:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230252AbjJERYC (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Thu, 5 Oct 2023 13:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230395AbjJERXd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Oct 2023 13:23:33 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C390C3C11; Thu, 5 Oct 2023 10:17:49 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65CF9C433C8; Thu, 5 Oct 2023 17:17:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696526269; bh=M0TvMEEC0UkMcAlSj1zsQkX0mGMTYLQ+X6r3nS6NweY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EVEF7H0nkibHxARzVD/nXBIu6ArBL5iFtEu7rnBLlPxHD2K3MAqRj48fJkmcSH6aJ gDBRevessxNx1OI5B8UOCpMl0ImASgVrv6dyqH+BdiV5Bw7TRCCtA6lqHfKL/tjpqp 6SfZBx47ZPt/CFWSM7ldEvhwoKozZ9yFcXrUHUnZdcg+uxNz3+Ii63RKz5UfavzPue 3AOueAT+osDfYj4ewBfwKvlILqMSiTLtyM9NwOE7JS73M36ifzafG6I4qnQAcTS1Z4 P2JWXvhnfYLvBA+Tr9wDOo+AxtUG7t7A6przoESj4fEAq7JPr4zU+V95nFttXIrH48 odOxsKJf8ORqQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 135D3CE0869; Thu, 5 Oct 2023 10:17:49 -0700 (PDT) From: "Paul E. McKenney" <paulmck@kernel.org> To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net>, "Masami Hiramatsu (Google)" <mhiramat@kernel.org>, "Paul E. McKenney" <paulmck@kernel.org>, Randy Dunlap <rdunlap@infradead.org>, Andrew Morton <akpm@linux-foundation.org>, Stephen Rothwell <sfr@canb.auug.org.au>, Arnd Bergmann <arnd@kernel.org> Subject: [PATCH bootconfig 1/3] doc: Update /proc/cmdline documentation to include boot config Date: Thu, 5 Oct 2023 10:17:45 -0700 Message-Id: <20231005171747.541123-1-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <6ea609a4-12e3-4266-8816-b9fca1f1f21c@paulmck-laptop> References: <6ea609a4-12e3-4266-8816-b9fca1f1f21c@paulmck-laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 10:24:10 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778937129268279900 X-GMAIL-MSGID: 1778937129268279900 |
Series |
Expose boot-loader kernel command-line arguments
|
|
Commit Message
Paul E. McKenney
Oct. 5, 2023, 5:17 p.m. UTC
Update the /proc/cmdline documentation to explicitly state that this file provides kernel boot parameters obtained via boot config from the kernel image as well as those supplied by the boot loader. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Arnd Bergmann <arnd@kernel.org> --- Documentation/filesystems/proc.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On Thu, 5 Oct 2023 10:17:45 -0700 "Paul E. McKenney" <paulmck@kernel.org> wrote: > Update the /proc/cmdline documentation to explicitly state that this > file provides kernel boot parameters obtained via boot config from the > kernel image as well as those supplied by the boot loader. > > Signed-off-by: Paul E. McKenney <paulmck@kernel.org> > Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> > Reviewed-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Jonathan Corbet <corbet@lwn.net> > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Stephen Rothwell <sfr@canb.auug.org.au> > Cc: Arnd Bergmann <arnd@kernel.org> > --- > Documentation/filesystems/proc.rst | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst > index 2b59cff8be17..5703b0e87cbe 100644 > --- a/Documentation/filesystems/proc.rst > +++ b/Documentation/filesystems/proc.rst > @@ -691,7 +691,8 @@ files are there, and which are missing. > apm Advanced power management info > buddyinfo Kernel memory allocator information (see text) (2.5) > bus Directory containing bus specific information > - cmdline Kernel command line > + cmdline Kernel command line, both from bootloader and embedded > + in the kernel image BTW, as same as the other lines, I changed this to white spaces instead of tabs. > cpuinfo Info about the CPU > devices Available devices (block and character) > dma Used DMS channels > -- > 2.40.1 >
diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index 2b59cff8be17..5703b0e87cbe 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -691,7 +691,8 @@ files are there, and which are missing. apm Advanced power management info buddyinfo Kernel memory allocator information (see text) (2.5) bus Directory containing bus specific information - cmdline Kernel command line + cmdline Kernel command line, both from bootloader and embedded + in the kernel image cpuinfo Info about the CPU devices Available devices (block and character) dma Used DMS channels