summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/efi-pstore.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-06-20 14:17:20 +0300
committerArd Biesheuvel <ardb@kernel.org>2022-06-24 21:40:19 +0300
commit472831d4c4b2d8eac783b256e5c829487d5310df (patch)
treec2e60fac9726a334f1eaefe2a17dc1d48789f3c6 /drivers/firmware/efi/efi-pstore.c
parentec3507b2ca51286de6ecd85fdac8e722219cdef8 (diff)
downloadlinux-472831d4c4b2d8eac783b256e5c829487d5310df.tar.xz
efi: vars: Add thin wrapper around EFI get/set variable interface
The current efivars layer is a jumble of list iterators, shadow data structures and safe variable manipulation helpers that really belong in the efivarfs pseudo file system once the obsolete sysfs access method to EFI variables is removed. So split off a minimal efivar get/set variable API that reuses the existing efivars_lock semaphore to mediate access to the various runtime services, primarily to ensure that performing a SetVariable() on one CPU while another is calling GetNextVariable() in a loop to enumerate the contents of the EFI variable store does not result in surprises. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/efi-pstore.c')
0 files changed, 0 insertions, 0 deletions