mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] efi: Make EFI_VARS_PSTORE depend on EFIVAR_FS
@ 2026-06-25 17:12 Theodore Tucker
  0 siblings, 0 replies; only message in thread
From: Theodore Tucker @ 2026-06-25 17:12 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-efi, gpiccoli, tony.luck, kees, ilias.apalodimas, ardb,
	Theodore Tucker

The efivars backend to pstore will not register if the efivarfs is
not available. The efivars sysfs interface was removed in Linux 6.0,
meaning efivarfs is now the only way pstore can write into EFI
variables. Making the dependency on the efivarfs explicit removes
a stumbling block when configuring a kernel with pstore.

Signed-off-by: Theodore Tucker <theodore@tti0.net>
---
 drivers/firmware/efi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig
index 29e0729299f5..8dfd21e7a8e4 100644
--- a/drivers/firmware/efi/Kconfig
+++ b/drivers/firmware/efi/Kconfig
@@ -9,7 +9,7 @@ config EFI_ESRT
 
 config EFI_VARS_PSTORE
 	tristate "Register efivars backend for pstore"
-	depends on PSTORE
+	depends on PSTORE && EFIVAR_FS
 	select UCS2_STRING
 	default y
 	help
-- 
2.47.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25 17:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 17:12 [PATCH] efi: Make EFI_VARS_PSTORE depend on EFIVAR_FS Theodore Tucker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox