efivar: remove inappropriate uses of the efivar API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | efi: avoid efivars layer when loading SSDTs from variablesdrivers/ | +41 | 0 replies | |
| 2/4 | Input: applespi - avoid efivars API and invoke EFI services directlydrivers/ | +14 | 1 reply | |
| 3/4 | iwlwifi: Switch to proper EFI variable store interfacedrivers/ | +32 | 0 replies | |
| 4/4 | brcmfmac: Switch to appropriate helper to load EFI variable contentsdrivers/ | +8 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Kalle Valo |
|---|---|
| Series | A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] efivar: remove inappropriate uses of the efivar API
The efivar layer is a caching non-volatile variable store abstraction that is normally backed by EFI, but in some cases, might be backed by Google SMI firmware interfaces instead.
It is mainly used by efivarfs and EFI pstore, both of which actually need the caching and abstraction properties. However, there are a few other occurrences where efivar is not necessary, or used in an invalid way. So let's fix this up, and remove some impediments to refactoring and cleaning up the efivars layer in the future.
Assuming there are no objections to these changes, I intend to queue them up in the EFI tree fairly soon, so that ongoing work depending on these changes can continue as well.
Ard Biesheuvel (4):
efi: avoid efivars layer when loading SSDTs from variables
Input: applespi - avoid efivars API and invoke EFI services directly
iwlwifi: Switch to proper EFI variable store interface
brcmfmac: Switch to appropriate helper to load EFI variable contents
drivers/firmware/efi/efi.c | 103 ++++++++------------ drivers/input/keyboard/applespi.c | 42 +++----- drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c | 25 ++--- drivers/net/wireless/intel/iwlwifi/fw/uefi.c | 96 ++++++------------ 4 files changed, 95 insertions(+), 171 deletions(-)
Signature · 1 line
2.35.1