From patchwork Fri Apr 6 09:20:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 132903 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp539452ljb; Fri, 6 Apr 2018 02:20:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx48JSQ7sxOJiuKiXr1SwjiIaYpPoBxnqX9EZtD309nPmx2IqPUP4nj3ntpLe0UaZxIDwu+yk X-Received: by 10.80.165.29 with SMTP id y29mr6156967edb.261.1523006455291; Fri, 06 Apr 2018 02:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523006455; cv=none; d=google.com; s=arc-20160816; b=R4kq+NPREeKZFWwSMaJp0KL/f0qo4gI7ya1sdPxlxIflNUoXq7pZqa8HCWxwELEBAp IZukXrpBLuCSwft9Qkq/TRB75YvuCFR9dhXAtu/3ux2dRUcY1ykLpjE3dSAleVKK3J9l H1nICOJ1FqEBrh7w73axtblvP+7nqcrl73Fs9XjLCd8X8SepjOLZdNWF3FfGWtgBweaU g9PDBnyxHpoWthTYYzdfJ32zmezqDaEWCXtuTxcK7sd6XYvlxGIg/BGjE2Q9QnxCBc+E UTQwpbmCo6UxAuGpS5o8wp5kfzaWW5ISR7tscXIjcqaSesN2boQWMx5+NpXjC3rC2eWv sBNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :arc-authentication-results; bh=T+syoN3IvQ2LLfCa7pLBrGWDKzmqSStRUIqfa7yjhjA=; b=UB5ilQoq0FB/1jnFV/vImu+DtSytf0QqBSeY+UKQJY0PegnwF0z7D75o1HUP/E5Ymy c1vgARsxAP5ZhySd9YBUIVTcaiSn8XNXk8QKGEQi5O0rZRaY/p5L/JxFKVnR95rjAIY2 jTboQtBCTTLYP8LGKsA3B52Ev5BUO2jwyX023SDVjthRUcnmW6wgtsahbJ+8fvJy4C1n Huudru47NDEtQSx7ffS1YCGVUWN/LQONPwV4NsP+oq0zCaoEYN/aLMe/rkQkcl/zRe7i d9sGkCDMYdfYW7pdtr9iaNTlF1+8Cibx/qVhw4/smYFixjl6R7oA+rT+XUDfsXvT9HAX erVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id h7si4137446edj.384.2018.04.06.02.20.55; Fri, 06 Apr 2018 02:20:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id CA9BCC21DF9; Fri, 6 Apr 2018 09:20:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id DFE73C21C2F; Fri, 6 Apr 2018 09:20:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0A88BC21C2F; Fri, 6 Apr 2018 09:20:48 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 8D218C21C29 for ; Fri, 6 Apr 2018 09:20:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3B92AAE85; Fri, 6 Apr 2018 09:20:48 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Fri, 6 Apr 2018 11:20:47 +0200 Message-Id: <20180406092047.7005-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Cc: Tom Rini Subject: [U-Boot] [PULL] efi patch queue 2018-04-06 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Hi Tom, This is my current patch queue for efi. Please pull. Also, sorry I didn't manage to make it in time for rc1. Travels made testing slightly difficult. Alex The following changes since commit 645b5afbb8215b3386cd6fc2dc3119bd68e4c760: Prepare v2018.05-rc1 (2018-04-02 20:31:36 -0400) are available in the git repository at: git://github.com/agraf/u-boot.git tags/signed-efi-next for you to fetch changes up to 806d2fa8e3c4ebaa1a2b1854ee4569ccc056d238: efi_loader: Respect DT reserved regions (2018-04-06 09:40:53 +0200) ---------------------------------------------------------------- Patch queue for efi - 2018-04-06 Highlights this time around: - Lots of minor spec compliance fixes - Support full range of GOP BLT commands - More fine grained error checking - Network fixes (init, DP) - Lots of other bug fixes... ---------------------------------------------------------------- Alexander Graf (6): git: mailrc: Add myself and efi to list efi_loader: Optimize GOP switch efi_loader: Optimize GOP more efi_loader: Fix return value for efi_add_runtime_mmio efi_loader: Fix network DP with DM_ETH efi_loader: Respect DT reserved regions Heinrich Schuchardt (48): efi_loader: parameter checks for LoadImage efi_loader: remove deprecated ConsoleControlProtocol efi_loader: delete doc/README.efi efi_loader: provide new doc/README.uefi efi_loader: efi_smbios_register should have a return value efi_loader: return efi_status_t from efi_gop_register efi_loader: return efi_status_t from efi_net_register efi_loader: consistently return efi_status_t efi_watchdog_register efi_loader: simplify calling efi_init_obj_list efi_loader: exit status for efi_reset_system_init efi_loader: efi_get_time_init should return status code efi_loader: do_bootefi_exec should always return an EFI status code efi_loader: check initialization of EFI subsystem is successful efi_loader: support device tree for bootefi selftest efi_selftest: check installation of the device tree efi_loader: correct input of special keys efi_loader: check parameter in InstallConfigurationTable efi_loader: clear signaled state in CheckEvent efi_loader: fix formatting errors efi_loader: manage events in a linked list efi_loader: define GUIDS for event groups efi_loader: implement event groups efi_loader: implement missing bit blit operations in gop efi_selftest: test gop bitblt efi_loader: add missing EFI_RESET_PLATFORM_SPECIFIC efi_selftest: unit test for EFI_SIMPLE_TEXT_INPUT_PROTOCOL efi_loader: show UEFI revision in helloworld efi_loader: use constants in efi_allocate_pages() efi_selftest: fix device tree unit test efi_selftest: unit test for event groups efi_loader: correctly support parameter delta in Blt efi_loader: use TPL_NOTIFY for network timer event efi_loader: RestoreTPL should execute queued events efi_loader: use __always_inline for pixel conversion efi_loader: use efi_uintn_t for LoadImage efi_loader: save image relocation address and size efi_loader: ImageSize must be multiple of SectionAlignment efi_loader: correct types for EFI_LOADED_IMAGE_PROTOCOL efi_loader: use correct types in EFI_FILE_PROTOCOL efi_loader: correctly determine the boot partition efi_loader: use const for GUIDs in the EFI_FILE_PROTOCOL efi_loader: ascii2unicode(): add trailing \0 efi_loader: implement EFI_FILE_SYSTEM_INFO efi_selftest: partition label for test image efi_selftest: test getinfo(EFI_FILE_SYSTEM_INFO) efi_loader: new functions to print loaded image information arm: print information about loaded UEFI images efi_loader: completely initialize network Ivan Gorinov (1): efi_loader: Check machine type in the image header Leif Lindholm (1): efi_loader: Initial EFI_DEVICE_PATH_UTILITIES_PROTOCOL Patrick Wildt (2): efi_loader: complete efi_pxe_mode struct definition efi_loader: initialize device path on alloc Simon Glass (1): efi: Correct header order in efi_memory MAINTAINERS | 2 +- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 5 +- arch/arm/cpu/armv8/fwcall.c | 1 + arch/arm/lib/interrupts.c | 13 + arch/arm/mach-bcm283x/reset.c | 5 +- cmd/bootefi.c | 229 ++++++++++------ doc/README.efi | 86 ------ doc/README.uefi | 332 +++++++++++++++++++++++ doc/git-mailrc | 2 + include/efi_api.h | 141 +++++++--- include/efi_loader.h | 63 ++++- include/pe.h | 4 + lib/efi_loader/Makefile | 3 +- lib/efi_loader/efi_boottime.c | 388 +++++++++++++++++---------- lib/efi_loader/efi_console.c | 156 +++++++---- lib/efi_loader/efi_device_path.c | 8 +- lib/efi_loader/efi_device_path_utilities.c | 89 ++++++ lib/efi_loader/efi_file.c | 85 +++++- lib/efi_loader/efi_gop.c | 362 +++++++++++++++++++++---- lib/efi_loader/efi_image_loader.c | 101 ++++++- lib/efi_loader/efi_memory.c | 11 +- lib/efi_loader/efi_net.c | 68 +++-- lib/efi_loader/efi_runtime.c | 32 ++- lib/efi_loader/efi_smbios.c | 23 +- lib/efi_loader/efi_watchdog.c | 6 +- lib/efi_loader/helloworld.c | 18 ++ lib/efi_selftest/Makefile | 4 + lib/efi_selftest/efi_selftest_bitblt.c | 311 +++++++++++++++++++++ lib/efi_selftest/efi_selftest_block_device.c | 24 +- lib/efi_selftest/efi_selftest_disk_image.h | 58 ++-- lib/efi_selftest/efi_selftest_event_groups.c | 140 ++++++++++ lib/efi_selftest/efi_selftest_fdt.c | 188 +++++++++++++ lib/efi_selftest/efi_selftest_textinput.c | 182 +++++++++++++ test/py/tests/test_efi_selftest.py | 14 + 34 files changed, 2576 insertions(+), 578 deletions(-) delete mode 100644 doc/README.efi create mode 100644 doc/README.uefi create mode 100644 lib/efi_loader/efi_device_path_utilities.c create mode 100644 lib/efi_selftest/efi_selftest_bitblt.c create mode 100644 lib/efi_selftest/efi_selftest_event_groups.c create mode 100644 lib/efi_selftest/efi_selftest_fdt.c create mode 100644 lib/efi_selftest/efi_selftest_textinput.c