[GIT PULL 0/9] EFI changes for v4.10

From: Matt Fleming
Date: Sat Nov 12 2016 - 16:32:46 EST


Folks, please pull the following v4.10 material. There isn't a huge
amount of stuff here. The biggest change is the EFI dev path parser
code from Lukas to get thunderbolt working on his macbook.

[ The thunderbolt patch has been ACK'd by Andreas and given the OK to
take it through the EFI tree ]

The following changes since commit a75dcb5848359f488c32c0aef8711d9bd37a77b8:

efi/efivar_ssdt_load: Don't return success on allocation failure (2016-10-18 17:11:20 +0200)

are available in the git repository at:

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

for you to fetch changes up to 9110bc036062fcd31994a35540d63f8deed22efa:

thunderbolt: Use Device ROM retrieved from EFI (2016-11-12 21:14:43 +0000)

----------------------------------------------------------------
* Fix an allocation bug in the generic EFI libstub where alignment
and adjusted size isn't taken into account - Roy Franz

* Update the EFI MAINTAINERS entry to include ARM and arm64 files and
directories - Ard Biesheuvel

* Add new feature to seed the RNG from the stashed value returned by
EFI_RNG_PROTOCOL in EFI stub and wire up for ARM/arm64 - Ard Biesheuvel

* Retrieve Apple device properties from within the EFI stub to fully
support thunderbolt devices on Apple Macbooks - Lukas Wunner

----------------------------------------------------------------
Ard Biesheuvel (4):
MAINTAINERS: Add ARM and arm64 EFI specific files to EFI subsystem
efi: Add support for seeding the RNG from a UEFI config table
efi/libstub: Add random.c to ARM build
efi/arm*: libstub: Invoke EFI_RNG_PROTOCOL to seed the UEFI RNG table

Lukas Wunner (4):
efi: Add device path parser
efi: Allow bitness-agnostic protocol calls
x86/efi: Retrieve and assign Apple device properties
thunderbolt: Use Device ROM retrieved from EFI

Roy Franz (1):
efi/libstub: Fix allocation size calculations

Documentation/kernel-parameters.txt | 5 +
MAINTAINERS | 6 +-
arch/arm/include/asm/efi.h | 3 +
arch/arm64/include/asm/efi.h | 3 +
arch/x86/boot/compressed/eboot.c | 65 +++++++
arch/x86/include/asm/efi.h | 16 +-
arch/x86/include/uapi/asm/bootparam.h | 1 +
drivers/firmware/efi/Kconfig | 18 ++
drivers/firmware/efi/Makefile | 2 +
drivers/firmware/efi/apple-properties.c | 248 +++++++++++++++++++++++++
drivers/firmware/efi/dev-path-parser.c | 203 ++++++++++++++++++++
drivers/firmware/efi/efi.c | 72 +++++++
drivers/firmware/efi/libstub/Makefile | 4 +-
drivers/firmware/efi/libstub/arm-stub.c | 2 +
drivers/firmware/efi/libstub/efi-stub-helper.c | 33 ++--
drivers/firmware/efi/libstub/efistub.h | 11 ++
drivers/firmware/efi/libstub/random.c | 56 +++++-
drivers/thunderbolt/Kconfig | 1 +
drivers/thunderbolt/eeprom.c | 43 +++++
drivers/thunderbolt/switch.c | 2 +-
include/linux/efi.h | 46 +++++
21 files changed, 808 insertions(+), 32 deletions(-)
create mode 100644 drivers/firmware/efi/apple-properties.c
create mode 100644 drivers/firmware/efi/dev-path-parser.c