[GIT PULL 0/5] EFI changes for v4.7

From: Matt Fleming
Date: Fri May 06 2016 - 17:39:44 EST


Folks, this is the second pull request containing v4.7 material. The
commits are listed in priority order, with the first patch fixing an
oops in the EFI capsule code sitting in tip/efi/core, and the rest
being a compiler warning fix, static checker fix, and a couple of
cleanups.

The following changes since commit 0ec7ae928a9c19c2b7b8054507d5694a2597065e:

efi: Remove unnecessary (and buggy) .memmap initialization from the Xen EFI driver (2016-04-29 11:06:15 +0200)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-next

for you to fetch changes up to 20948c1d9fdefa7acfaa84046f59adce9ef00f2e:

efivarfs: Make efivarfs_file_ioctl static (2016-05-05 16:52:19 +0100)

----------------------------------------------------------------
* Fix an oops in the EFI capsule code reported by the 0day bot
because efi_capsule_pending() was grabbing a mutex in the emergency
reboot path - Matt Fleming

* Fix a compiler warning about excessive stack usage in the new efibc
driver by kmalloc'ing the efivar_entry object - Jeremy Compostella

* Dan Carpenter reported that it's potentially unsafe to pass the
address of a pointer to the firmware in efi_capsule_supported().
Instead we can skip the dynamic allocation entirely and put the
capsule object on the stack - Matt Fleming

* Simplify the locking in the efivars code by merging two of
efivar_init()'s parameters into one - Julia Lawall

* Cleanup efivarfs_file_ioctl by marking it as static since it has no
external users - Peter Jones

----------------------------------------------------------------
Jeremy Compostella (1):
efibc: Fix excessive stack footprint warning

Julia Lawall (1):
efi: Merge boolean flag arguments

Matt Fleming (2):
efi/capsule: Make efi_capsule_pending() lockless
efi/capsule: Move 'capsule' to the stack in efi_capsule_supported()

Peter Jones (1):
efivarfs: Make efivarfs_file_ioctl static

drivers/firmware/efi/capsule.c | 65 ++++++++++++++++++++++++------------------
drivers/firmware/efi/efibc.c | 34 +++++++++++++++-------
drivers/firmware/efi/efivars.c | 5 ++--
drivers/firmware/efi/vars.c | 23 +++++++--------
fs/efivarfs/file.c | 2 +-
fs/efivarfs/super.c | 3 +-
include/linux/efi.h | 3 +-
7 files changed, 75 insertions(+), 60 deletions(-)