mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH 1/2] efi: loader: don't let VarToFile stop the variable file from being written
Date: Fri, 28 Aug 2026 15:07:44 +0200	[thread overview]
Message-ID: <178792246421.464894.3840094544401539146.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260826094800.2564299-1-a.fatoum@pengutronix.de>


On Wed, 26 Aug 2026 11:47:57 +0200, Ahmad Fatoum wrote:
> efi_var_collect() walks the variable store with GetNextVariableName() and
> reads every variable it finds into a buffer the size of the store, then
> keeps only those matching the attribute mask. Reading a variable whose
> value does not fit aborts the collection, and with it the write of the
> variable file:
> 
>   efi-loader: var-file: Failed to persist EFI variables Out of memory
> 
> [...]

Applied, thanks!

[1/2] efi: loader: don't let VarToFile stop the variable file from being written
      https://git.pengutronix.de/cgit/barebox/commit/?id=655c59531037 (link may not be stable)
[2/2] efi: loader: keep booting when the runtime variable store is unavailable
      https://git.pengutronix.de/cgit/barebox/commit/?id=b6ce84a22fe5 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      parent reply	other threads:[~2026-08-28 13:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-26  9:47 Ahmad Fatoum
2026-08-26  9:47 ` [PATCH 2/2] efi: loader: keep booting when the runtime variable store is unavailable Ahmad Fatoum
2026-08-28 13:07 ` 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=178792246421.464894.3840094544401539146.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