From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1c5fv8-00082L-Cx for mharc-grub-devel@gnu.org; Sat, 12 Nov 2016 16:33:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5fv5-000821-OJ for grub-devel@gnu.org; Sat, 12 Nov 2016 16:33:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5fv4-0005cl-Qf for grub-devel@gnu.org; Sat, 12 Nov 2016 16:33:03 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:35476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5fv4-0005VE-Kr for grub-devel@gnu.org; Sat, 12 Nov 2016 16:33:02 -0500 Received: by mail-wm0-x22d.google.com with SMTP id a197so36534783wmd.0 for ; Sat, 12 Nov 2016 13:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeblueprint-co-uk.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qs+IknBKfQ/SC6H4/6/LxGqKAYxbgX03LLsQBdxbLbc=; b=KCRRUmhdyxyXpyEryhJhnmb+wAouO2hBspAy7TS8d9QLIIrnl7ly+qJ2lMxO9wPBaf TXcFC/BMtqFt6MiHC1AVv1ieQQrNa7aoROHSNCmrh0e3RRFf+fvvHCa0nm/K9YiEl5Hy dTPP931TZLm8eg8JTT9scpvlymYOXg7+UKz3vxs0RR4k3ZwdeND0OBOJzQo7vNUhZcJe p+i31jcU7EbEx43CgUcp16VzSxX1WR3/I5WGxJM3XwXr4iPJM84wjCI4wk5B3pKQSW8Q JBB9CsFj9V2GQ+J2wthJMbipL0qgWTi8HIunFcnF/qvSQ0s/V1jtNBev0YeEtx7MYuys m0rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qs+IknBKfQ/SC6H4/6/LxGqKAYxbgX03LLsQBdxbLbc=; b=G/+JYQLzol5gyc+SUdG9UOi1Gv4lk8VfX1RUeq4KiE+QX4G31tkzQbUu3Ykn5IMLTS KvAOaj75POe+mrV2Na8JcREz84FBIzCxmAIz2GirdDj8C1eZUexLmiAO0nGbIc5DOnpw 2xt4dso89f1inmc6PvSH/FA4CebMTMEwNdW2o6SYRp4dHOKezG7cE8gpnlALVw0c1Z4U LxPY2EU3ZKWeS2L8veEK4oUzafBb+ntccbsVss5fugWc9+wtIjMYZyQAAJAxC7C/lN2E /DePpW3SghJ+CBWU3Gabw+AuNULEn/300N6VO9bqItblLfd9nb+aIbmfT2BIUd3N3dY6 8Hrg== X-Gm-Message-State: ABUngveshKtjpEJA/Y2eBF8HzRUG7QkaOFSSfWsZ+8VRlBT38uYNB/bGtj61UPaEGp8rew== X-Received: by 10.28.194.135 with SMTP id s129mr4267695wmf.55.1478986358918; Sat, 12 Nov 2016 13:32:38 -0800 (PST) Received: from localhost ([2a02:c7f:9225:4100:de53:60ff:fe39:5599]) by smtp.gmail.com with ESMTPSA id js10sm19012603wjb.19.2016.11.12.13.32.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Nov 2016 13:32:38 -0800 (PST) From: Matt Fleming To: Ingo Molnar , Thomas Gleixner , "H . Peter Anvin" Cc: Matt Fleming , Ard Biesheuvel , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Andreas Noever , grub-devel@gnu.org, Kees Cook , Lukas Wunner , =?UTF-8?q?Pedro=20Vila=C3=A7a?= , Peter Jones , Pierre Moreau , Roy Franz , Russell King , Will Deacon Subject: [GIT PULL 0/9] EFI changes for v4.10 Date: Sat, 12 Nov 2016 21:32:28 +0000 Message-Id: <20161112213237.8804-1-matt@codeblueprint.co.uk> X-Mailer: git-send-email 2.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2016 21:33:04 -0000 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