* [GIT PULL] Bootconfig: Updates for v7.0
@ 2026-02-13 23:35 Masami Hiramatsu
2026-02-14 3:37 ` Linus Torvalds
2026-02-14 3:44 ` pr-tracker-bot
0 siblings, 2 replies; 4+ messages in thread
From: Masami Hiramatsu @ 2026-02-13 23:35 UTC (permalink / raw)
To: Linus Torvalds
Cc: Masami Hiramatsu, Steven Rostedt, Masami Hiramatsu, linux-kernel
Hi Linus,
Bootconfig for v7.0
- Update the bootconfig parser to stop searching for a value when it
encounters a newline character.
Note that this changes the bootconfig formatting but this should not
fall under the don't break user space rule as users of bootconfig is
for booting the kernel and not about applications running in the
kernel's user space.
- Update the tests for bootconfig parser to ensure the good examples
to be parsed correctly by comparing the expected results.
Please pull the latest bootconfig-v7.0 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
bootconfig-v7.0
Tag SHA1: d5771ed4efe73ab88b7f89eadf106c2b4a8ae751
Head SHA1: 8c5d862fcb2116ebf5ce762a82db827a38a7d8ee
Masami Hiramatsu (Google) (2):
bootconfig: Terminate value search if it hits a newline
bootconfig: Check the parsed output of the good examples
----
Documentation/admin-guide/bootconfig.rst | 24 ++++++++++++-------
lib/bootconfig.c | 27 +++++++++++++++-------
.../samples/bad-array-after-comment.bconf | 4 ++++
.../samples/bad-array-in-next-line.bconf | 4 ++++
.../samples/exp-good-array-space-comment.bconf | 1 +
.../samples/exp-good-comment-after-value.bconf | 1 +
.../bootconfig/samples/exp-good-mixed-append.bconf | 2 ++
tools/bootconfig/samples/exp-good-mixed-kv1.bconf | 2 ++
tools/bootconfig/samples/exp-good-mixed-kv2.bconf | 2 ++
tools/bootconfig/samples/exp-good-mixed-kv3.bconf | 5 ++++
.../samples/exp-good-mixed-override.bconf | 2 ++
tools/bootconfig/samples/exp-good-override.bconf | 4 ++++
tools/bootconfig/samples/exp-good-printables.bconf | 2 ++
tools/bootconfig/samples/exp-good-simple.bconf | 8 +++++++
tools/bootconfig/samples/exp-good-single.bconf | 3 +++
.../samples/exp-good-space-after-value.bconf | 1 +
tools/bootconfig/samples/exp-good-tree.bconf | 8 +++++++
.../samples/good-array-space-comment.bconf | 3 +--
tools/bootconfig/test-bootconfig.sh | 3 +++
19 files changed, 88 insertions(+), 18 deletions(-)
create mode 100644 tools/bootconfig/samples/bad-array-after-comment.bconf
create mode 100644 tools/bootconfig/samples/bad-array-in-next-line.bconf
create mode 100644 tools/bootconfig/samples/exp-good-array-space-comment.bconf
create mode 100644 tools/bootconfig/samples/exp-good-comment-after-value.bconf
create mode 100644 tools/bootconfig/samples/exp-good-mixed-append.bconf
create mode 100644 tools/bootconfig/samples/exp-good-mixed-kv1.bconf
create mode 100644 tools/bootconfig/samples/exp-good-mixed-kv2.bconf
create mode 100644 tools/bootconfig/samples/exp-good-mixed-kv3.bconf
create mode 100644 tools/bootconfig/samples/exp-good-mixed-override.bconf
create mode 100644 tools/bootconfig/samples/exp-good-override.bconf
create mode 100644 tools/bootconfig/samples/exp-good-printables.bconf
create mode 100644 tools/bootconfig/samples/exp-good-simple.bconf
create mode 100644 tools/bootconfig/samples/exp-good-single.bconf
create mode 100644 tools/bootconfig/samples/exp-good-space-after-value.bconf
create mode 100644 tools/bootconfig/samples/exp-good-tree.bconf
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] Bootconfig: Updates for v7.0
2026-02-13 23:35 [GIT PULL] Bootconfig: Updates for v7.0 Masami Hiramatsu
@ 2026-02-14 3:37 ` Linus Torvalds
2026-02-16 7:28 ` Masami Hiramatsu
2026-02-14 3:44 ` pr-tracker-bot
1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2026-02-14 3:37 UTC (permalink / raw)
To: Masami Hiramatsu; +Cc: Steven Rostedt, linux-kernel
On Fri, 13 Feb 2026 at 15:35, Masami Hiramatsu <mhiramat@kernel.org> wrote:
>
> Note that this changes the bootconfig formatting but this should not
> fall under the don't break user space rule as users of bootconfig is
> for booting the kernel and not about applications running in the
> kernel's user space.
Note that the rule is about breaking *users*, not breaking user space per se.
It's obviously not about "user space applications", since about h alf
of the kernel is about hardware interfaces. If you break a driver, you
break the user expectations.
If some user setup breaks, things need fixing.
That said, I agree that this is not likely to break any user
configuration, but I want to make it very clear that there are no
excuses about "user space applications".
Linus
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] Bootconfig: Updates for v7.0
2026-02-13 23:35 [GIT PULL] Bootconfig: Updates for v7.0 Masami Hiramatsu
2026-02-14 3:37 ` Linus Torvalds
@ 2026-02-14 3:44 ` pr-tracker-bot
1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2026-02-14 3:44 UTC (permalink / raw)
To: Masami Hiramatsu (Google)
Cc: Linus Torvalds, Masami Hiramatsu (Google), Steven Rostedt,
Masami Hiramatsu, linux-kernel
The pull request you sent on Sat, 14 Feb 2026 08:35:16 +0900:
> git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git bootconfig-v7.0
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/770aaedb461a055f79b971d538678942b6607894
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] Bootconfig: Updates for v7.0
2026-02-14 3:37 ` Linus Torvalds
@ 2026-02-16 7:28 ` Masami Hiramatsu
0 siblings, 0 replies; 4+ messages in thread
From: Masami Hiramatsu @ 2026-02-16 7:28 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Steven Rostedt, linux-kernel
On Fri, 13 Feb 2026 19:37:13 -0800
Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Fri, 13 Feb 2026 at 15:35, Masami Hiramatsu <mhiramat@kernel.org> wrote:
> >
> > Note that this changes the bootconfig formatting but this should not
> > fall under the don't break user space rule as users of bootconfig is
> > for booting the kernel and not about applications running in the
> > kernel's user space.
>
> Note that the rule is about breaking *users*, not breaking user space per se.
>
> It's obviously not about "user space applications", since about h alf
> of the kernel is about hardware interfaces. If you break a driver, you
> break the user expectations.
>
> If some user setup breaks, things need fixing.
>
> That said, I agree that this is not likely to break any user
> configuration, but I want to make it very clear that there are no
> excuses about "user space applications".
Thanks for the clarification, I'll be more careful for the rule.
> Linus
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-02-16 7:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-13 23:35 [GIT PULL] Bootconfig: Updates for v7.0 Masami Hiramatsu
2026-02-14 3:37 ` Linus Torvalds
2026-02-16 7:28 ` Masami Hiramatsu
2026-02-14 3:44 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox