From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>,
Sascha Hauer <s.hauer@pengutronix.de>
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH v2 0/9] boot: revert boot related globalvars after booting
Date: Tue, 24 Nov 2026 07:52:39 +0100 [thread overview]
Message-ID: <179550315997.350571.454428875944079114.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20261113-boot-globalvar-stack-v2-0-14c0f0a0986e@pengutronix.de>
On Fri, 13 Nov 2026 08:20:35 +0100, Sascha Hauer wrote:
> Boot entries configure booting through globalvars like global.bootm.*,
> global.linux.bootargs.* or global.of.overlay.*. So far only some of these
> were restored after a boot entry returned, by saving a fixed set of
> variables and by clearing the global.linux.bootargs.dyn.* namespace.
>
> This series adds globalvar scopes, which snapshot all globalvars matching
> given patterns and restore them later, and uses them around each boot
> entry, bootm and bootchooser boot attempts. With that the .dyn infix is
> no longer needed, so it is dropped from the boot scripts of the default
> environment. blspec and extlinux keep using
> global.linux.bootargs.dyn.bootentries, so the position of their options
> in the Kernel command line doesn't change.
>
> [...]
Applied, thanks!
[1/9] globalvar: add scopes to snapshot and restore globalvars
https://git.pengutronix.de/cgit/barebox/commit/?id=4b6cba03b9c1 (link may not be stable)
[2/9] bootm: revert globalvar changes in bootm_boot_cleanup()
https://git.pengutronix.de/cgit/barebox/commit/?id=94074c039321 (link may not be stable)
[3/9] boot: revert globalvar changes after each boot entry
https://git.pengutronix.de/cgit/barebox/commit/?id=efb2a44be77c (link may not be stable)
[4/9] bootchooser: use a globalvar scope for its bootargs
https://git.pengutronix.de/cgit/barebox/commit/?id=1d5167e77f1f (link may not be stable)
[5/9] test: py: add test for reverting globalvars after boot
https://git.pengutronix.de/cgit/barebox/commit/?id=7e59add5e61e (link may not be stable)
[6/9] bootargs: remove unused linux_bootargs_overwrite()
https://git.pengutronix.de/cgit/barebox/commit/?id=697cf02c0d13 (link may not be stable)
[7/9] of: add watchdog bootarg directly instead of via a globalvar
https://git.pengutronix.de/cgit/barebox/commit/?id=f59275942a82 (link may not be stable)
[8/9] defaultenv: don't use global.linux.bootargs.dyn.* in boot entries
https://git.pengutronix.de/cgit/barebox/commit/?id=e71011c84ad2 (link may not be stable)
[9/9] Documentation: migration-guides: describe reverting boot globalvars
https://git.pengutronix.de/cgit/barebox/commit/?id=99b7fad27f75 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2026-11-24 6:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 7:20 Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 1/9] globalvar: add scopes to snapshot and restore globalvars Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 2/9] bootm: revert globalvar changes in bootm_boot_cleanup() Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 3/9] boot: revert globalvar changes after each boot entry Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 4/9] bootchooser: use a globalvar scope for its bootargs Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 5/9] test: py: add test for reverting globalvars after boot Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 6/9] bootargs: remove unused linux_bootargs_overwrite() Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 7/9] of: add watchdog bootarg directly instead of via a globalvar Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 8/9] defaultenv: don't use global.linux.bootargs.dyn.* in boot entries Sascha Hauer
2026-11-13 7:20 ` [PATCH v2 9/9] Documentation: migration-guides: describe reverting boot globalvars Sascha Hauer
2026-11-24 6:52 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179550315997.350571.454428875944079114.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox