From patchwork Mon Apr 9 13:07:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 133038 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp238769ljb; Mon, 9 Apr 2018 06:07:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/BBibwHhMDEQGuV7PCAxmUQLD7ZfyHLUw+56cn4c+9jF7OrMq4HoOHppjZKm5VgFIVjZY/ X-Received: by 10.80.210.215 with SMTP id q23mr21873375edg.294.1523279250448; Mon, 09 Apr 2018 06:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523279250; cv=none; d=google.com; s=arc-20160816; b=DUrHXWRlvewjl022RbZVQfkKOHdLfpWd2bGYy0f/D4a34jSLID6v2qTgj9gDRZO7We HZCRLGJ7IDGTJBUXKf0nMxVVf52poBqitZgWPUT/gXljRHUaHBVFSqeM7GNJTeLJO6xC KsHMids/Opk3WS33GhLLKlFQ7kGLXayu7BYlh3euALqmywzjsXkYMVpn+5oBslRcVuzT DirWbJtka4BOSwRQjevhmPt+lCcTAnxMEQv92FulWEsDXWg/Q9Uw71R3TyVY/TIOlrfb 4qqEYEHhPTh24yUzEvquhNzc77JXcszgQ4Zvd1Ccv9ZfrBwiVS/Pa8OhDsXZpanimRW/ popw== 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=kUXQImGw8/8hCK2/dv/mXqYH/gPLi+GtP7zlNn8UYDU=; b=fjAXl6ubwNewxDXzWpezDw9L7CDxSCya6U2zX//72vB9dif4FxV5ipqxkNaaZ1VOke DoPIEf/uSZNdjwUwuMV1dvOezmzBXjN7vCaY/9eWj9AQsFGBDF96sUucPjyT0/LVXY0k U9/B6yi+rRJFTn0oW/QlTVCvzLBGD9sPB/qUhEuiKCTurB9SwswInye/12L1NthloRO8 MbLnW+/vMwRByd18T2B2ZCCl1fCge+lqbLpZ4oES3wlgx+pjFzq/i7P/ItmoIZGpN7u+ HSOP7B1g+amYAD2YQQP2zhB6Ee5lS9RzXPiLUFUvaY3SErGT7i5pEn5BmN74bYPlJqyX 6WPw== 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 j17si465916ede.452.2018.04.09.06.07.29; Mon, 09 Apr 2018 06:07:30 -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 056B8C21DA2; Mon, 9 Apr 2018 13:07:17 +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=RCVD_IN_DNSWL_BLOCKED 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 AB456C21D83; Mon, 9 Apr 2018 13:07:14 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 28BFDC21D8E; Mon, 9 Apr 2018 13:07:13 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id A114CC21C38 for ; Mon, 9 Apr 2018 13:07:12 +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 29328AF06; Mon, 9 Apr 2018 13:07:12 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Mon, 9 Apr 2018 15:07:11 +0200 Message-Id: <20180409130711.62717-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Cc: Tom Rini Subject: [U-Boot] [PULL] efi patch queue 2018-04-09 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, Sorry the previous request failed travis checks. This one passes. This is my current patch queue for efi. Please pull. 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 f4cf153a487486428a061b5d866fe2f68653b2f8: efi_loader: correctly set the machine type in the PE header (2018-04-09 10:20:59 +0200) ---------------------------------------------------------------- Patch queue for efi - 2018-04-09 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 (49): 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 efi_loader: correctly set the machine type in the PE header 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 +- arch/x86/config.mk | 6 +- 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 + 35 files changed, 2581 insertions(+), 579 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