* [PATCH] proc.5: Clarify that boot arguments can be embedded in image
@ 2023-06-30 23:33 Paul E. McKenney
2023-07-04 12:59 ` Masami Hiramatsu
0 siblings, 1 reply; 5+ messages in thread
From: Paul E. McKenney @ 2023-06-30 23:33 UTC (permalink / raw)
To: mtk.manpages
Cc: mhiramat, corbet, akpm, ndesaulniers, vbabka, hannes, linux-doc,
linux-kernel
With the advent of the CONFIG_BOOT_CONFIG Kconfig option, kernel boot
arguments can now be embedded in the kernel image, either attached
to the end of initramfs or embedded in the kernel itself. Document
this possibility in the /proc/cmdline entry of proc.5.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
diff --git a/man5/proc.5 b/man5/proc.5
index c6684620e..141a2983c 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -3100,6 +3100,9 @@ Often done via a boot manager such as
.BR lilo (8)
or
.BR grub (8).
+Any arguments embedded in the kernel image or initramfs via
+.B CONFIG_BOOT_CONFIG
+will also be displayed.
.TP
.IR /proc/config.gz " (since Linux 2.6)"
This file exposes the configuration options that were used
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] proc.5: Clarify that boot arguments can be embedded in image
@ 2023-07-04 6:25 S. Isaeiela C. Escobar D. Anktnktr
0 siblings, 0 replies; 5+ messages in thread
From: S. Isaeiela C. Escobar D. Anktnktr @ 2023-07-04 6:25 UTC (permalink / raw)
To: paulmck
Cc: akpm, corbet, hannes, linux-doc, linux-kernel, mhiramat,
mtk.manpages, ndesaulniers, vbabka
Sent from my iPhone
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] proc.5: Clarify that boot arguments can be embedded in image
2023-06-30 23:33 [PATCH] proc.5: Clarify that boot arguments can be embedded in image Paul E. McKenney
@ 2023-07-04 12:59 ` Masami Hiramatsu
2023-07-05 20:33 ` Paul E. McKenney
0 siblings, 1 reply; 5+ messages in thread
From: Masami Hiramatsu @ 2023-07-04 12:59 UTC (permalink / raw)
To: paulmck
Cc: mtk.manpages, mhiramat, corbet, akpm, ndesaulniers, vbabka,
hannes, linux-doc, linux-kernel
On Fri, 30 Jun 2023 16:33:28 -0700
"Paul E. McKenney" <paulmck@kernel.org> wrote:
> With the advent of the CONFIG_BOOT_CONFIG Kconfig option, kernel boot
> arguments can now be embedded in the kernel image, either attached
> to the end of initramfs or embedded in the kernel itself. Document
> this possibility in the /proc/cmdline entry of proc.5.
Thanks for update!
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
>
> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
> Cc: Michael Kerrisk <mtk.manpages@gmail.com>
> Cc: Masami Hiramatsu <mhiramat@kernel.org>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Nick Desaulniers <ndesaulniers@google.com>
> Cc: Vlastimil Babka <vbabka@suse.cz>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
>
> diff --git a/man5/proc.5 b/man5/proc.5
> index c6684620e..141a2983c 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -3100,6 +3100,9 @@ Often done via a boot manager such as
> .BR lilo (8)
> or
> .BR grub (8).
> +Any arguments embedded in the kernel image or initramfs via
> +.B CONFIG_BOOT_CONFIG
> +will also be displayed.
> .TP
> .IR /proc/config.gz " (since Linux 2.6)"
> This file exposes the configuration options that were used
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] proc.5: Clarify that boot arguments can be embedded in image
2023-07-04 12:59 ` Masami Hiramatsu
@ 2023-07-05 20:33 ` Paul E. McKenney
2023-07-08 17:19 ` Alejandro Colomar
0 siblings, 1 reply; 5+ messages in thread
From: Paul E. McKenney @ 2023-07-05 20:33 UTC (permalink / raw)
To: Masami Hiramatsu
Cc: mtk.manpages, corbet, akpm, ndesaulniers, vbabka, hannes,
linux-doc, linux-kernel, alx, linux-man
On Tue, Jul 04, 2023 at 09:59:32PM +0900, Masami Hiramatsu wrote:
> On Fri, 30 Jun 2023 16:33:28 -0700
> "Paul E. McKenney" <paulmck@kernel.org> wrote:
>
> > With the advent of the CONFIG_BOOT_CONFIG Kconfig option, kernel boot
> > arguments can now be embedded in the kernel image, either attached
> > to the end of initramfs or embedded in the kernel itself. Document
> > this possibility in the /proc/cmdline entry of proc.5.
>
> Thanks for update!
>
> Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Thank you, Masami!
Adding Alejandro and linux-man on CC.
Thanx, Paul
> > Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
> > Cc: Michael Kerrisk <mtk.manpages@gmail.com>
> > Cc: Masami Hiramatsu <mhiramat@kernel.org>
> > Cc: Jonathan Corbet <corbet@lwn.net>
> > Cc: Andrew Morton <akpm@linux-foundation.org>
> > Cc: Nick Desaulniers <ndesaulniers@google.com>
> > Cc: Vlastimil Babka <vbabka@suse.cz>
> > Cc: Johannes Weiner <hannes@cmpxchg.org>
> >
> > diff --git a/man5/proc.5 b/man5/proc.5
> > index c6684620e..141a2983c 100644
> > --- a/man5/proc.5
> > +++ b/man5/proc.5
> > @@ -3100,6 +3100,9 @@ Often done via a boot manager such as
> > .BR lilo (8)
> > or
> > .BR grub (8).
> > +Any arguments embedded in the kernel image or initramfs via
> > +.B CONFIG_BOOT_CONFIG
> > +will also be displayed.
> > .TP
> > .IR /proc/config.gz " (since Linux 2.6)"
> > This file exposes the configuration options that were used
>
>
> --
> Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] proc.5: Clarify that boot arguments can be embedded in image
2023-07-05 20:33 ` Paul E. McKenney
@ 2023-07-08 17:19 ` Alejandro Colomar
0 siblings, 0 replies; 5+ messages in thread
From: Alejandro Colomar @ 2023-07-08 17:19 UTC (permalink / raw)
To: paulmck, Masami Hiramatsu
Cc: mtk.manpages, corbet, akpm, ndesaulniers, vbabka, hannes,
linux-doc, linux-kernel, linux-man
[-- Attachment #1.1: Type: text/plain, Size: 1844 bytes --]
Hi Paul!
On 7/5/23 22:33, Paul E. McKenney wrote:
> On Tue, Jul 04, 2023 at 09:59:32PM +0900, Masami Hiramatsu wrote:
>> On Fri, 30 Jun 2023 16:33:28 -0700
>> "Paul E. McKenney" <paulmck@kernel.org> wrote:
>>
>>> With the advent of the CONFIG_BOOT_CONFIG Kconfig option, kernel boot
>>> arguments can now be embedded in the kernel image, either attached
>>> to the end of initramfs or embedded in the kernel itself. Document
>>> this possibility in the /proc/cmdline entry of proc.5.
>>
>> Thanks for update!
>>
>> Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
>
Thanks for the review! Tag added.
> Thank you, Masami!
>
> Adding Alejandro and linux-man on CC.
>
> Thanx, Paul
>
>>> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
>>> Cc: Michael Kerrisk <mtk.manpages@gmail.com>
>>> Cc: Masami Hiramatsu <mhiramat@kernel.org>
>>> Cc: Jonathan Corbet <corbet@lwn.net>
>>> Cc: Andrew Morton <akpm@linux-foundation.org>
>>> Cc: Nick Desaulniers <ndesaulniers@google.com>
>>> Cc: Vlastimil Babka <vbabka@suse.cz>
>>> Cc: Johannes Weiner <hannes@cmpxchg.org>
>>>
Thanks! Patch applied.
Cheers,
Alex
>>> diff --git a/man5/proc.5 b/man5/proc.5
>>> index c6684620e..141a2983c 100644
>>> --- a/man5/proc.5
>>> +++ b/man5/proc.5
>>> @@ -3100,6 +3100,9 @@ Often done via a boot manager such as
>>> .BR lilo (8)
>>> or
>>> .BR grub (8).
>>> +Any arguments embedded in the kernel image or initramfs via
>>> +.B CONFIG_BOOT_CONFIG
>>> +will also be displayed.
>>> .TP
>>> .IR /proc/config.gz " (since Linux 2.6)"
>>> This file exposes the configuration options that were used
>>
>>
>> --
>> Masami Hiramatsu (Google) <mhiramat@kernel.org>
--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-08 17:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-30 23:33 [PATCH] proc.5: Clarify that boot arguments can be embedded in image Paul E. McKenney
2023-07-04 12:59 ` Masami Hiramatsu
2023-07-05 20:33 ` Paul E. McKenney
2023-07-08 17:19 ` Alejandro Colomar
-- strict thread matches above, loose matches on Subject: below --
2023-07-04 6:25 S. Isaeiela C. Escobar D. Anktnktr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).