From patchwork Sun Oct 1 08:30:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 114535 Delivered-To: patch@linaro.org Received: by 10.140.104.133 with SMTP id a5csp2606936qgf; Sun, 1 Oct 2017 01:31:17 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBDns58OoKV+832GzzEhlnhwZ/ttMiMJWhD+VG0tkBZzNTe3P+W0l6Tg81UH3MiBCc4E3nu X-Received: by 10.80.148.210 with SMTP id t18mr15341119eda.228.1506846677540; Sun, 01 Oct 2017 01:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506846677; cv=none; d=google.com; s=arc-20160816; b=oL2qMFJiFiU4QBFrlBMky6Sjuli1qJ3aNWT8ubhutF4bU9LV7cCQEJWRAn2HTe+3fS /36RKxBj4/SsUEqUovpPSzdaIW+8aLb7sPQeKSn2DkzT+J6xr+RiyHwHhVsx3w00d4L5 SKDe/n9TavaD4WHZwCXWfCj12h3B1oNafXDF0f2nqH+H2btVXXnyEpzF/0FZPuNtgX1c L4oB3IYQmFrgvlKMVGBCiK/lLGxaOZX4CRSyftVDCUi07BDzidphDfK/Eog+zs6fRKea /9bmDUsYKzNgEnmGaNKFBk7LCsw5R0obmemIQgzmpkwuBAOcMznWdt35xfEPAGja5UUS wxOQ== 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=+jQCA4xRZGIPUqVPAc4f6iimEGSgHxMppqGHwJXXobI=; b=KOu6Tya+Nh13zwif3PLVC6gI53x0zkNBLF9Em/cMhQsWZXRz6PYGF+bRbmW8brqkeq 2BNrXBkcj3P1WOnm1D+Y3xFao7CCef3YAGGYC2kiyLPzcjt3mKYHUy6PQ85m7YqI1PCo vMaaH0P4YusxeHY1JRrigxfVWpzb4hOHUKKMTSkt+zch8XkTRwQPA7GdaG78ugAKkqKi 0rYSGFMaON4xgZEDwwelQZq3Us3NzSMeuzX7uVpWaPXGjie0AA2685wfK1rmFb8UK3Mg CHL3LcXwLnR/WlNARyI0g1VS5F0GoAqREk6ztAsHx3+ZhZXEDzgeN6AorrH2YEbBw2/Q OHUA== 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 o9si2976521edf.415.2017.10.01.01.31.16; Sun, 01 Oct 2017 01:31:17 -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 5B453C21E7C; Sun, 1 Oct 2017 08:31:15 +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 2463FC21D57; Sun, 1 Oct 2017 08:31:13 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5CA28C21D57; Sun, 1 Oct 2017 08:31:11 +0000 (UTC) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id E91DAC21C8F for ; Sun, 1 Oct 2017 08:31:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 480ECAAC8; Sun, 1 Oct 2017 08:31:09 +0000 (UTC) From: Alexander Graf To: Tom Rini Date: Sun, 1 Oct 2017 10:30:57 +0200 Message-Id: <20171001083057.25379-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [U-Boot] [PULL] efi patch queue 2017-10-01 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. Alex The following changes since commit c07f38208a73bbe3efaa939d6742096c1cb7e0ce: Merge git://git.denx.de/u-boot-x86 (2017-09-17 11:46:51 -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 7dd5d44753969167a6059405635bdb8b9d961fa1: efi_loader: fix efi_exit (2017-09-21 09:04:25 +0200) ---------------------------------------------------------------- Patch queue for efi - 2017-10-01 Lots of new things this time. High level highlights are: - Shim support (to boot Fedora) - Initial set of unit tests - Preparations to support UEFI Shell ---------------------------------------------------------------- Alexander Graf (1): efi_loader: Fix efi_exit gd clobbering Andre Przywara (1): EFI: find EFI system partition by legacy MBR partition type Heinrich Schuchardt (21): efi_loader: bootefi hello should use loadaddr efi_disk: efi_disk_rw_blocks is not an API function efi_loader: call __efi_exit_check in efi_exit efi_loader: write protocol GUID in OpenProtocol scripts/Makefile.lib: remove overridden target $(obj)/helloworld.so: efi_loader: rename __efi_hello_world_* scripts/Makefile.lib: generalize building built in EFI app efi_loader: usage of always in Makefile efi_loader: avoid obscure constants in efi_runtime.c efi_loader: fix typo in include/efi.h efi_loader: allow return value in EFI_CALL efi_selftest: provide an EFI selftest application test/py: add a test calling the EFI selftest efi_loader: implement queueing of the notification function efi_loader: efi_set_timer: reset signaled state efi_selftest: provide unit test for event services efi_loader: implement task priority level (TPL) efi_selftest: test task priority levels efi_loader: notify when ExitBootServices is invoked efi_selftest: check notification of ExitBootServices efi_loader: reenable selftest Peter Jones (2): part: extract MBR signature from partitions efi: add some more device path structures Rob Clark (20): part: move efi_guid_t efi: add some missing __packed efi_loader: add device-path utils efi_loader: drop redundant efi_device_path_protocol efi_loader: flesh out device-path to text efi_loader: use proper device-paths for partitions efi_loader: use proper device-paths for net efi_loader: refactor boot device and loaded_image handling efi_loader: add file/filesys support efi_loader: support load_image() from a file-path efi_loader: make pool allocations cacheline aligned efi_loader: efi variable support efi_loader: add bootmgr efi_loader: file_path should be variable length efi_loader: set loaded image code/data type properly efi_loader: print GUIDs efi_loader: split out escape sequence based size query efi_loader: Correctly figure out size for vidconsole efi_loader: Some console improvements for vidconsole efi_loader: fix efi_exit MAINTAINERS | 5 +- cmd/Kconfig | 2 + cmd/bootefi.c | 288 ++++++------ disk/part_dos.c | 14 +- disk/part_efi.c | 20 + include/asm-generic/sections.h | 4 +- include/blk.h | 18 + include/config_distro_bootcmd.h | 5 + include/efi.h | 27 +- include/efi_api.h | 162 ++++++- include/efi_loader.h | 100 +++- include/efi_selftest.h | 91 ++++ include/part.h | 3 +- include/part_efi.h | 4 - include/pe.h | 6 + lib/Makefile | 1 + lib/efi_loader/Makefile | 8 +- lib/efi_loader/efi_bootmgr.c | 180 ++++++++ lib/efi_loader/efi_boottime.c | 263 +++++++++-- lib/efi_loader/efi_console.c | 127 +++-- lib/efi_loader/efi_device_path.c | 563 +++++++++++++++++++++++ lib/efi_loader/efi_device_path_to_text.c | 242 +++++++--- lib/efi_loader/efi_disk.c | 88 +++- lib/efi_loader/efi_file.c | 560 ++++++++++++++++++++++ lib/efi_loader/efi_image_loader.c | 26 ++ lib/efi_loader/efi_memory.c | 5 +- lib/efi_loader/efi_net.c | 24 +- lib/efi_loader/efi_runtime.c | 23 +- lib/efi_loader/efi_variable.c | 335 ++++++++++++++ lib/efi_selftest/Kconfig | 7 + lib/efi_selftest/Makefile | 26 ++ lib/efi_selftest/efi_selftest.c | 219 +++++++++ lib/efi_selftest/efi_selftest_console.c | 187 ++++++++ lib/efi_selftest/efi_selftest_events.c | 195 ++++++++ lib/efi_selftest/efi_selftest_exitbootservices.c | 106 +++++ lib/efi_selftest/efi_selftest_tpl.c | 214 +++++++++ scripts/Makefile.lib | 30 +- test/py/tests/test_efi_selftest.py | 25 + 38 files changed, 3800 insertions(+), 403 deletions(-) create mode 100644 include/efi_selftest.h create mode 100644 lib/efi_loader/efi_bootmgr.c create mode 100644 lib/efi_loader/efi_device_path.c create mode 100644 lib/efi_loader/efi_file.c create mode 100644 lib/efi_loader/efi_variable.c create mode 100644 lib/efi_selftest/Kconfig create mode 100644 lib/efi_selftest/Makefile create mode 100644 lib/efi_selftest/efi_selftest.c create mode 100644 lib/efi_selftest/efi_selftest_console.c create mode 100644 lib/efi_selftest/efi_selftest_events.c create mode 100644 lib/efi_selftest/efi_selftest_exitbootservices.c create mode 100644 lib/efi_selftest/efi_selftest_tpl.c create mode 100644 test/py/tests/test_efi_selftest.py