From: Ard Biesheuvel <ardb@kernel.org>
To: torvalds@linux-foundation.org
Cc: linux-efi@vger.kernel.org, keescook@chromium.org,
Ard Biesheuvel <ardb@kernel.org>
Subject: [GIT PULL 2/2] EFI removal of efivars sysfs driver
Date: Mon, 1 Aug 2022 15:41:17 +0200 [thread overview]
Message-ID: <20220801134117.1605678-3-ardb@kernel.org> (raw)
In-Reply-To: <20220801134117.1605678-1-ardb@kernel.org>
The following changes since commit 5ac941367a6f85777ef34ec15d60e17ea8e446d4:
efi: vars: Drop __efivar_entry_iter() helper which is no longer used (2022-06-24 20:40:19 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-efivars-removal-for-v5.20
for you to fetch changes up to 2d82e6227ea189c0589e7383a36616ac2a2d248c:
efi: vars: Move efivar caching layer into efivarfs (2022-06-24 20:40:19 +0200)
----------------------------------------------------------------
EFI efivars sysfs interface removal
Remove the obsolete 'efivars' sysfs based interface to the EFI variable
store, now that all users have moved to the efivarfs pseudo file system,
which was created ~10 years ago to address some fundamental shortcomings
in the sysfs based driver.
Move the 'business logic' related to which EFI variables are important
and may affect the boot flow from the efivars support layer into the
efivarfs pseudo file system, so it is no longer exposed to other parts
of the kernel.
----------------------------------------------------------------
Ard Biesheuvel (3):
efi: vars: Remove deprecated 'efivars' sysfs interface
efi: vars: Switch to new wrapper layer
efi: vars: Move efivar caching layer into efivarfs
Documentation/x86/x86_64/uefi.rst | 2 +-
arch/arm/configs/milbeaut_m10v_defconfig | 1 -
arch/ia64/configs/bigsur_defconfig | 1 -
arch/ia64/configs/generic_defconfig | 1 -
arch/ia64/configs/gensparse_defconfig | 1 -
arch/ia64/configs/tiger_defconfig | 1 -
arch/ia64/configs/zx1_defconfig | 1 -
arch/x86/configs/i386_defconfig | 1 -
arch/x86/configs/x86_64_defconfig | 1 -
drivers/firmware/efi/Kconfig | 12 -
drivers/firmware/efi/Makefile | 1 -
drivers/firmware/efi/efi.c | 1 +
drivers/firmware/efi/efivars.c | 660 -------------------
drivers/firmware/efi/vars.c | 1023 ------------------------------
fs/efivarfs/Makefile | 2 +-
fs/efivarfs/internal.h | 40 ++
fs/efivarfs/vars.c | 738 +++++++++++++++++++++
include/linux/efi.h | 56 --
18 files changed, 781 insertions(+), 1762 deletions(-)
delete mode 100644 drivers/firmware/efi/efivars.c
create mode 100644 fs/efivarfs/vars.c
next prev parent reply other threads:[~2022-08-01 13:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-01 13:41 [GIT PULL 0/2] EFI pull requests for v5.20 Ard Biesheuvel
2022-08-01 13:41 ` [GIT PULL 1/2] EFI updates " Ard Biesheuvel
2022-08-03 22:29 ` pr-tracker-bot
2022-08-01 13:41 ` Ard Biesheuvel [this message]
2022-08-03 21:43 ` [GIT PULL 2/2] EFI removal of efivars sysfs driver Linus Torvalds
2022-08-03 22:29 ` pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220801134117.1605678-3-ardb@kernel.org \
--to=ardb@kernel.org \
--cc=keescook@chromium.org \
--cc=linux-efi@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox