Message ID | 20231005171747.541123-3-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 fe22csp452294vqb; Thu, 5 Oct 2023 10:24:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEc/v16qrL02Sb6EIdpVCZcYtt8mB/o2sW7V2MUuyJPxHj7pJvME9AZknx9wgyUY0GMHbbO X-Received: by 2002:a17:90a:117:b0:273:4944:2eba with SMTP id b23-20020a17090a011700b0027349442ebamr5425923pjb.40.1696526668343; Thu, 05 Oct 2023 10:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696526668; cv=none; d=google.com; s=arc-20160816; b=fz/HuIthx4ag4ZJ2PIvYhtfZR4OsmZe0fnPRbi2fqmESc/TfctWauP2rHxMsILndCw VH0bqmx9jPzvFOoen9pqqqq5xDpTui03a0ZqcGPwjVqzgnMHcrSXE5G4PFuLaSu1kjMS 0i4eqlOkTXEuAyJjGmht0G/ZS1SGO+M0h+3Z1jV9qE6ydx9Wnj2cqC+4ZO261eshVa+g K7RFTI6udSJZ6tUI9xkXZ1dpo/YEpgvJMikAWru4+fGJBIMboaSrjH3Gc0Qz7/r5wsOo pFrC7KnxYWshAV9kngqbjOXQbnXJ531XFWqsDDgqxbWhDYiId9WX+ilk+ync08QKTxYt qsIA== 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=6dUZ2EOmn3D2680haLT2gDHJPpNmUnCrZw7uujL1T5Q=; fh=0f+KkSxR4tQs28sLB/N0n6pgrDJFDdRHHLaoTGgbGL4=; b=RaKZPrShl4zGv01gBhbNXuWK8V3El/SNO9Zmbps0RzKz2STHNcW9v7o1q0p3um/A7h CLlYkCp4B6mJuYCUQJywiBDY6fB901rJVzoMN8xaEdnAwIq9zFonMBCd4JGW5q/HgOIR 7m0IEKMzyJ9wgxt+jF84a/md5JEvw44n7ehK2o9KU75ycv9BpwMbytp51QtdP3WF362K ZVkvVfk+MAzD+40qkBlifDoCNytB0A2+39ABCTr+KNU6dV7/eBhPovwWWHJ3r++Lqexa ZmECXSqJgoAhOZktylZdfkXkdFyFsl1n6eTmGbp9LAKhBzgmPrdyeI6uscbXPc7Jw+Md ax3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QTsWqTsf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id lk17-20020a17090b33d100b00277453e82fesi2084543pjb.87.2023.10.05.10.24.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 10:24:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QTsWqTsf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 8C91A802092B; Thu, 5 Oct 2023 10:24:27 -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 S230401AbjJERYI (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Thu, 5 Oct 2023 13:24:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230481AbjJERXh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Oct 2023 13:23:37 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3CA846AE; Thu, 5 Oct 2023 10:17:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84356C433C8; Thu, 5 Oct 2023 17:17:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696526274; bh=dd281u/JTv/R6FmaGl1uLzRwofzwkxCFqbk7yrkrYr8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QTsWqTsfq+kPIKxVgE9A/E+ADoBxbMda9uH0NMeSYTUmoZkhJ5aA8bZFN2ipYQRap 6KGadC9r4o/6b2g8JhWHpYGRxRqt4c2dDFyoJowgTaOnlfFHTBlHKNYYzIStoGgk6I 7wOXykqBJqEceFppYFJZTxw/98pUgrAU1BE+6ysGb7vTi8pKOOFvg+Rf7HWaekNqiy wnRfYOvB+mjsO+nPNtKgi+IufB1O4nmYAH+7dpobx4X1+MSOjpyrzibr/6r3KeOBB/ OA4eSdt7ynQVA7O4FSEdE0q7ukTyZW2lr+GYlQPcMdFUuFhof9o5MXYkai/o4vPsQy lOtI5vN+DTocQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 1975FCE0976; 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> Subject: [PATCH bootconfig 3/3] doc: Add /proc/bootconfig to proc.rst Date: Thu, 5 Oct 2023 10:17:47 -0700 Message-Id: <20231005171747.541123-3-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:27 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778937147947703641 X-GMAIL-MSGID: 1778937147947703641 |
Series |
Expose boot-loader kernel command-line arguments
|
|
Commit Message
Paul E. McKenney
Oct. 5, 2023, 5:17 p.m. UTC
Add /proc/bootconfig description to Documentation/filesystems/proc.rst. Reported-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> --- Documentation/filesystems/proc.rst | 5 +++++ 1 file changed, 5 insertions(+)
Comments
On Thu, 5 Oct 2023 10:17:47 -0700 "Paul E. McKenney" <paulmck@kernel.org> wrote: > Add /proc/bootconfig description to Documentation/filesystems/proc.rst. > > Reported-by: Masami Hiramatsu <mhiramat@kernel.org> > Signed-off-by: Paul E. McKenney <paulmck@kernel.org> > Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> > --- > Documentation/filesystems/proc.rst | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst > index 5703b0e87cbe..a2c160f29632 100644 > --- a/Documentation/filesystems/proc.rst > +++ b/Documentation/filesystems/proc.rst > @@ -689,6 +689,11 @@ files are there, and which are missing. > File Content > ============ =============================================================== > apm Advanced power management info > + bootconfig Kernel command line obtained from boot config, > + and, if there were kernel parameters from the > + boot loader, a "# Parameters from bootloader:" > + line followed by a line containing those > + parameters prefixed by "# ". (5.5) Ditto. Curiously, in this part of the document, the tail spaces until "(5.5)" are using tabs, but the head spaces are using whitespaces. So updated it. I noticed that a warning message when I imported it to my bootconfig/for-next branch. Thank you, > buddyinfo Kernel memory allocator information (see text) (2.5) > bus Directory containing bus specific information > cmdline Kernel command line, both from bootloader and embedded > -- > 2.40.1 >
diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index 5703b0e87cbe..a2c160f29632 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -689,6 +689,11 @@ files are there, and which are missing. File Content ============ =============================================================== apm Advanced power management info + bootconfig Kernel command line obtained from boot config, + and, if there were kernel parameters from the + boot loader, a "# Parameters from bootloader:" + line followed by a line containing those + parameters prefixed by "# ". (5.5) buddyinfo Kernel memory allocator information (see text) (2.5) bus Directory containing bus specific information cmdline Kernel command line, both from bootloader and embedded