From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@barebox.org>
Cc: Johannes Schauer Marin Rodrigues <josch@debian.org>
Subject: Re: [PATCH 1/2] efi: loader: in-place patch the runtime services on ExitBootServices
Date: Tue, 20 Oct 2026 15:59:10 +0200 [thread overview]
Message-ID: <179250475084.2719855.4114309304807716986.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20261017115018.1202076-1-a.fatoum@barebox.org>
On Sat, 17 Oct 2026 13:50:14 +0200, Ahmad Fatoum wrote:
> ExitBootServices() repoints systab->runtime at a separate table with the
> detached runtime services. If an EFI application caches RT, it may end
> up calling into the stale boot-time runtime services object.
>
> Fix this by keeping the systab->runtime pointer the same and do a
> "deep copy" by rewriting the object including its callbacks instead.
>
> [...]
Applied, thanks!
[1/2] efi: loader: in-place patch the runtime services on ExitBootServices
https://git.pengutronix.de/cgit/barebox/commit/?id=ccf7ea6dd236 (link may not be stable)
[2/2] efi: runtime: accept 1:1 mappings in SetVirtualAddressMap
https://git.pengutronix.de/cgit/barebox/commit/?id=fa86dd3e46ef (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2026-10-20 15:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-17 11:50 Ahmad Fatoum
2026-10-17 11:50 ` [PATCH 2/2] efi: runtime: accept 1:1 mappings in SetVirtualAddressMap Ahmad Fatoum
2026-10-17 14:26 ` Johannes Schauer Marin Rodrigues
2026-10-17 14:26 ` [PATCH 1/2] efi: loader: in-place patch the runtime services on ExitBootServices Johannes Schauer Marin Rodrigues
2026-10-20 13:59 ` 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=179250475084.2719855.4114309304807716986.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@barebox.org \
--cc=barebox@lists.infradead.org \
--cc=josch@debian.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