From patchwork Mon Jul 8 17:00:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1129183 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="LVYTwo4u"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45jBYZ11dlz9sPP for ; Tue, 9 Jul 2019 03:01:20 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 70B88C21DD3; Mon, 8 Jul 2019 17:01:13 +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=FREEMAIL_FROM, T_DKIM_INVALID 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 E1E3AC21C4A; Mon, 8 Jul 2019 17:01:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 36284C21C4A; Mon, 8 Jul 2019 17:01:09 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lists.denx.de (Postfix) with ESMTPS id CEB0CC21C3F for ; Mon, 8 Jul 2019 17:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1562605261; bh=yuu+xzb9CKFSIfK1YbWI/DtJLDu31btg2WgrsGTYj9A=; h=X-UI-Sender-Class:From:Subject:To:Cc:Date; b=LVYTwo4uvWr5yPm1K5ILlkPlphBe/7n+OVDmgeQFb9lGrHUg/lQYd2hCAi+FrKHbm v12HnpvEeT6LCOoIf+7jIXJ/NwUNeZJPei2GwYQoqwI9gU/ug9PK1G+pkrunSCa/Nx ejqml5baW1qgPaCoMZCaB3gTqCjW/Eg5J5WFOpbs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.71] ([84.118.159.3]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MJE27-1i3RZP3I4Z-00Kj7V; Mon, 08 Jul 2019 19:01:00 +0200 From: Heinrich Schuchardt To: Tom Rini Message-ID: <6e06485f-004e-4264-1233-474ea515e467@gmx.de> Date: Mon, 8 Jul 2019 19:00:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 Content-Language: en-US X-Provags-ID: V03:K1:BR23J249cCIgyWD1tz5jIHi+84ZZWr4n82AsoF1ndOXqy2aPRyt TsxhXPBo6vXdlTeMSDEov3o8U0LidWX9KaTPaCw33MsoChSBMEP54CTdnV6Hr1wenqTftjD 9pW2e/z6//4eo3nLeniWeqfyE8BP4rB/o3udyT+92HftlRlQxG7z43ipIfhUe0avey7jJYR 0HFAZR4TIRic6AFhofm4Q== X-UI-Out-Filterresults: notjunk:1; V03:K0:pxWvgAsxcF4=:/AvtQobgVJ2Kn+If8EZnKO 2viP+zEF9Jb2cPGvJg1bX2GZq+PsIstY+kBi4THX8wfggReUQPJWrxtGPAchfxeNz+eAKUAIv Wa/bHT8QP0hrzBoZl46uA3kbxxZvW5v5io9EHbdlD7MGpmszk6hSpOrg1XCsE9fCJmULfOnEs 9dh72KjFlziTAIibf0+EdkFmc0VurMxg5x8YX3u5LEKXVDkDlv3OJNIkhBxFC2G6RhWuYmLxL NW/2pwDl2v/osyXKINfq87H5jMW+55xxaduPyD5h3/tuoUyNNIkTOhUIwau9QvZlza03TQsf/ yft98jm1C2uJWKW7SIAzdhvYChOsBTvPpYGYboDesYdmB4vcsx/PTtBDfHdPDzqUtTnnTsi14 U5TCbKvmJqpIFHOd2gqm6OX5t8zHTUX8BLiBm1QSwQNyh2iSKwMveSqetG9nHQdLGWcGOaNLP 6GoGiv+rismLwMS+wQ/ZmkiVCOm3ihe7kTfcICKdoZFxWLx5YqkpCz9EkMfXHtwElQM4engBy 0JHmtbVflTF/O9EyRmMxD+1lQVN5S0elychXbarD0OeA8WYfJDE4HxoM2HVaWyVmaB4f9OOmk wGb16zOm7m9uRLWqdEkuUGzi1M/zgdC6hGs+qZFEsXw7gZiZJJmr61G7v8qf8jP0B6FbEDEHv AXPiZNI6Ow1djVsBsju4IqbaY2rJOdZebxjzdCDftebisWfOshcnt3ExgXIMtABh2BNYZckhr 9qE9CHi1B1n32DJAngjy9wBZzvsvYPo6+9kyCBWuLXJCt/9IFTCoGxwHgBc+J74XBLqkfBgYU ScVTxhwR4qM5f8JAJjiAC/Z0gU31zGwdb+vBxwurjjytdtFdHRJdgyrqz+rmsYrPExDM5CWe9 hDJoZbqjX/BYq4RlUsLn9+YvJUEoBa0CwW0g+95RIHkWGp3qWdXkuCbdamM2SUqsJcGXtztDO kgWdvD0taZ3OnWt6PB/fSGgIJJPDQJN9sKvvvD43L9aw6VFahqfITsBCoFMQNBto2uhecHLuH rFkOZAQkZMCt6G4QvqXsoIJ/I8MSIvnDZJ+LOtSFdsAugaCJuT28WdwY+VddDc7Z55E4ExyV+ TbeJmv4uIP58huRmNbSMUPnHbjoCM1QTTvf Cc: U-Boot Mailing List , Alexander Graf , Eugeniu Rosca Subject: [U-Boot] Pull request for UEFI sub-system for v2019.10-rc1 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The following changes since commit 1f83431f0053f6fb20c511c391ffc687433848cf: board: amlogic: add mailing-list to MAINTAINERS (2019-07-04 11:36:52 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2019-10-rc1 for you to fetch changes up to 7f95104d91ccfb26f802feb5300838b41bc5fbb1: efi_loader: detach runtime in ExitBootServices() (2019-07-06 21:25:32 +0200) ---------------------------------------------------------------- Pull request for UEFI sub-system for v2019.10-rc1 Fix a possible overflow for GUID partition tables. For some runtime services we only have implementations valid at boottime. So we replace them when leaving boottime. Move this from SetVirtualAddressMap() to ExitBootServices() as SetVirtualAddressMap() is not called by all operating systems. Adjust the Python tests accordingly. Bump the supported UEFI specification version to 2.8. Travis CI shows no problem: https://travis-ci.org/xypron2/u-boot/builds/555097742 Primary key fingerprint: 6DC4 F9C7 1F29 A6FA 06B7 6D33 C481 DBBC 2C05 1AC4 ---------------------------------------------------------------- Heinrich Schuchardt (17): disk: efi: buffer overflow in part_get_info_efi() efi_selftest: description of CMD_BOOTEFI_SELFTEST test/py: error message test_efi_selftest_device_tree efi_loader: remove superfluous spaces in comments efi_loader: move efi_query_variable_info() efi_loader: initialization of variable services efi_loader: remove NULL entries from runtime detach list efi_loader: clean up runtime detaching efi_loader: let the variable driver patch out the runtime efi_loader: unimplemented runtime services efi_selftest: test variable services at runtime efi_loader: split off detaching SetVirtualAddress() efi_loader: bump UEFI specification number to 2.8 test/py: not all boards support UEFI runtime reset efi_loader: decision on EFI_RT_SUPPORTED_RESET_SYSTEM efi_loader: simplify detaching efi_loader: detach runtime in ExitBootServices() disk/part_efi.c | 4 +- include/efi_api.h | 4 +- include/efi_loader.h | 11 + lib/efi_loader/Kconfig | 6 + lib/efi_loader/efi_boottime.c | 27 ++- lib/efi_loader/efi_runtime.c | 244 ++++++++++------------ lib/efi_loader/efi_setup.c | 5 + lib/efi_loader/efi_variable.c | 81 +++++++ lib/efi_selftest/Kconfig | 8 +- lib/efi_selftest/Makefile | 1 + lib/efi_selftest/efi_selftest_variables_runtime.c | 94 +++++++++ test/py/tests/test_efi_selftest.py | 6 +- 12 files changed, 332 insertions(+), 159 deletions(-) create mode 100644 lib/efi_selftest/efi_selftest_variables_runtime.c