]> git.baikalelectronics.ru Git - kernel.git/commit
efi: pstore: disentangle from deprecated efivars module
authorArd Biesheuvel <ardb@kernel.org>
Wed, 23 Sep 2020 07:56:14 +0000 (09:56 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 29 Sep 2020 17:40:57 +0000 (19:40 +0200)
commit1b0851f0a7a15dc387e02b5c2d27b737feb6a7d9
tree56ea122e783fb1de4893b84d1b35dfe543f01a23
parentdfa35373bcba0dc90cb28d3b2c0d22b0e38c47c9
efi: pstore: disentangle from deprecated efivars module

The EFI pstore implementation relies on the 'efivars' abstraction,
which encapsulates the EFI variable store in a way that can be
overridden by other backing stores, like the Google SMI one.

On top of that, the EFI pstore implementation also relies on the
efivars.ko module, which is a separate layer built on top of the
'efivars' abstraction that exposes the [deprecated] sysfs entries
for each variable that exists in the backing store.

Since the efivars.ko module is deprecated, and all users appear to
have moved to the efivarfs file system instead, let's prepare for
its removal, by removing EFI pstore's dependency on it.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/Kconfig
drivers/firmware/efi/efi-pstore.c
drivers/firmware/efi/efivars.c
include/linux/efi.h