lkml.org 
[lkml]   [2020]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] efi: deprecate/remove efivars sysfs interface
Date
This series implements the deprecation and ultimate removal of the sysfs
interface that exposes the contents of the EFI variable store.

I am fully aware that removing this sysfs interface entirely may be
premature, and so patch #7 is included for reference only, and not
proposed for inclusion right away.

Instead, patch #6 limits availability of the efivars module to X86
and IA64, which is reasonable, given that the efivars module was
superseded by the efivarfs filesystem interface before EFI support
for ARM architectures was even available in Linux.

Patches #1 to #5 remove all dependencies [true or false] on the efivars.c
code and its CONFIG_EFI_VARS Kconfig symbol, so it can be disabled [or
dropped] cleanly.

Cc: Matthew Garrett <mjg59@google.com>
Cc: Peter Jones <pjones@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Cc: Tony Luck <tony.luck@intel.com>

Ard Biesheuvel (7):
efi: pstore: disentangle from deprecated efivars module
efi: pstore: move workqueue handling out of efivars
efi: efivars: un-export efivars_sysfs_init()
efi: gsmi: fix false dependency on CONFIG_EFI_VARS
efi: remove some false dependencies on CONFIG_EFI_VARS
efi: efivars: limit availability to X86 builds
efi: efivars: remove deprecated sysfs interface

.../ABI/stable/sysfs-firmware-efi-vars | 75 --
Documentation/arm/uefi.rst | 2 +-
drivers/firmware/efi/Kconfig | 22 +-
drivers/firmware/efi/Makefile | 1 -
drivers/firmware/efi/efi-pstore.c | 83 +-
drivers/firmware/efi/efivars.c | 711 ------------------
drivers/firmware/efi/vars.c | 21 -
drivers/firmware/google/Kconfig | 2 +-
drivers/firmware/google/gsmi.c | 8 +-
include/linux/efi.h | 18 -
10 files changed, 85 insertions(+), 858 deletions(-)
delete mode 100644 Documentation/ABI/stable/sysfs-firmware-efi-vars
delete mode 100644 drivers/firmware/efi/efivars.c

--
2.17.1

\
 
 \ /
  Last update: 2020-09-23 18:15    [W:0.091 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site