Skip to contentSkip to conversation

efi: Auto-load the efi-pstore module

PATCH Ben Hutchings 2 participants 2 messages Sep 28, 2015 – Oct 7, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

efi-pstore should be auto-loaded on EFI systems, same as efivars.

---
This was included in Debian 8 "jessie" with no complaints so far (and without CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE set), so it seems to be safe to do.

Ben.

drivers/firmware/efi/efi-pstore.c +1 -0
@@ -400,3 +400,4 @@ module_exit(efivars_pstore_exit);
 
 MODULE_DESCRIPTION("EFI variable backend for pstore");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:efivars");
Signature · 2 lines
Ben Hutchings
All extremists should be taken out and shot.
#2 lore raw
In reply to a message not in the archive
Quoted 13 lines · Ben Hutchings

efi-pstore should be auto-loaded on EFI systems, same as efivars.

---
This was included in Debian 8 "jessie" with no complaints so far (and without CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE set), so it seems to be safe to do.

Ben.

drivers/firmware/efi/efi-pstore.c module_exit(efivars_pstore_exit); · line 403

Quoted 4 lines
drivers/firmware/efi/efi-pstore.c +1 -0
@@ -400,3 +400,4 @@ module_exit(efivars_pstore_exit);
 
 MODULE_DESCRIPTION("EFI variable backend for pstore");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:efivars");

I'm OK with this change because it still relies on distributions to actually enable the Kconfig option too, before it works.

Folks on Cc, please let me know if you have concerns.

Signature · 1 line
Matt Fleming, Intel Open Source Technology Center