On Fri, Jun 26, 2026 at 11:33:27PM +0900, Masami Hiramatsu wrote:
> On Fri, 26 Jun 2026 05:50:09 -0700
> Breno Leitao <[email protected]> wrote:
> 
> > The userspace pieces (xbc_snprint_cmdline() in lib/, tools/bootconfig -C)
> > already landed; this series wires the rendered cmdline into the kernel.
> > 
> > Motivation: today the embedded bootconfig is parsed at runtime, after
> > parse_early_param() has already run, so early_param() handlers can't
> > see embedded values. Folding the kernel.* subtree into the cmdline at
> > build time gives a CONFIG_CMDLINE-equivalent for embedded-bootconfig
> > users without forcing them to maintain two cmdline sources.
> > 
> > Behaviorally, the "kernel" subtree is rendered to a flat string at
> > build time and stashed in .init.rodata. setup_arch() prepends it to
> > boot_command_line before parse_early_param() runs. Overflow is a soft
> > error: the helper logs and leaves boot_command_line untouched rather
> > than panicking, so an oversized embedded bconf cannot brick a boot.
> > 
> 
> Thanks for update!! This looks good to me.
> Let me pick it and test it.

Thanks Masami,

Let me know if you need anything else from my side.

Once these land in linux-next, I'll merge them into Meta's kernel tree
and put them into production. Looking forward to seeing how it works out.

Really appreciate all your support getting this across the line.
--breno

Reply via email to