efi: Auto-load the efi-pstore module
Subsystems (2)
efi-pstore should be auto-loaded on EFI systems, same as efivars.
Signed-off-by Ben Hutchings <ben-/[email protected]>
---
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.
Quoted 13 lines · Ben Hutchings
efi-pstore should be auto-loaded on EFI systems, same as efivars.
Signed-off-by Ben Hutchings <ben-/[email protected]>---
This was included in Debian 8 "jessie" with no complaints so far (and withoutCONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLEset), 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