diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-06-20 13:21:26 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-06-24 20:40:19 +0200 |
commit | 859748255b43460685e93a1f8a40b8cdc3be02f2 (patch) | |
tree | 487e7f9cf14b0a977ba2b037bf9d0a86ba29753c /drivers/firmware/efi/Kconfig | |
parent | efi: vars: Add thin wrapper around EFI get/set variable interface (diff) | |
download | linux-dev-859748255b43460685e93a1f8a40b8cdc3be02f2.tar.xz linux-dev-859748255b43460685e93a1f8a40b8cdc3be02f2.zip |
efi: pstore: Omit efivars caching EFI varstore access layer
Avoid the efivars layer and simply call the newly introduced EFI
varstore helpers instead. This simplifies the code substantially, and
also allows us to remove some hacks in the shared efivars layer that
were added for efi-pstore specifically.
In order to be able to delete the EFI variable associated with a record,
store the UTF-16 name of the variable in the pstore record's priv field.
That way, we don't have to make guesses regarding which variable the
record may have been loaded from.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/Kconfig')
-rw-r--r-- | drivers/firmware/efi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index 6fd4414c4836..7fe8b5c686d2 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -22,6 +22,7 @@ config EFI_ESRT config EFI_VARS_PSTORE tristate "Register efivars backend for pstore" depends on PSTORE + select UCS2_STRING default y help Say Y here to enable use efivars as a backend to pstore. This |