From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] efi: loader: reduce warning about non-persistent EFI variables to notice
Date: Tue, 27 Jan 2026 16:36:38 +0100 [thread overview]
Message-ID: <20260127153639.3390850-1-a.fatoum@pengutronix.de> (raw)
When booting an EFI-stubbed kernel outside of an ESP, we always get:
WARNING: efi-loader: var-file: Cannot persist EFI variables without
system partition
A warning is arguably a bit harsh, because one still benefits from
keeping the MMU enabled and the other EFI runtime services, so bump to a
notice log level instead.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
efi/loader/efi_var_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/loader/efi_var_file.c b/efi/loader/efi_var_file.c
index 652354693ae7..e0dec999b779 100644
--- a/efi/loader/efi_var_file.c
+++ b/efi/loader/efi_var_file.c
@@ -59,7 +59,7 @@ efi_status_t efi_var_to_file(void)
dirfd = efiloader_esp_mount_dir();
if (dirfd < 0) {
if (!once) {
- pr_warn("Cannot persist EFI variables without system partition\n");
+ pr_notice("Cannot persist EFI variables without system partition\n");
once = true;
}
efiret = EFI_NO_MEDIA;
--
2.47.3
next reply other threads:[~2026-01-27 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-27 15:36 Ahmad Fatoum [this message]
2026-01-30 12:42 ` Sascha Hauer
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=20260127153639.3390850-1-a.fatoum@pengutronix.de \
--to=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