Searched hist:"859748255 b43460685e93a1f8a40b8cdc3be02f2" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/firmware/efi/ |
H A D | vars.c | diff 859748255b43460685e93a1f8a40b8cdc3be02f2 Mon Jun 20 13:21:26 CEST 2022 Ard Biesheuvel <ardb@kernel.org> 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>
|
H A D | Kconfig | diff 859748255b43460685e93a1f8a40b8cdc3be02f2 Mon Jun 20 13:21:26 CEST 2022 Ard Biesheuvel <ardb@kernel.org> 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>
|