{"id":814128,"url":"http://patchwork.ozlabs.org/api/covers/814128/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20170915080619.25250-1-xypron.glpk@gmx.de/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170915080619.25250-1-xypron.glpk@gmx.de>","list_archive_url":null,"date":"2017-09-15T08:06:09","name":"[U-Boot,00/10] efi_loader: event services & API test","submitter":{"id":61270,"url":"http://patchwork.ozlabs.org/api/people/61270/?format=json","name":"Heinrich Schuchardt","email":"xypron.glpk@gmx.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20170915080619.25250-1-xypron.glpk@gmx.de/mbox/","series":[{"id":3244,"url":"http://patchwork.ozlabs.org/api/series/3244/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3244","date":"2017-09-15T08:06:10","name":"efi_loader: event services & API test","version":1,"mbox":"http://patchwork.ozlabs.org/series/3244/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/814128/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtp1J3r08z9sBZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 18:08:04 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 23AFAC21F9E; Fri, 15 Sep 2017 08:07:41 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5D3B5C21F88;\n\tFri, 15 Sep 2017 08:07:39 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 7A287C21D65; Fri, 15 Sep 2017 08:07:31 +0000 (UTC)","from mout.gmx.net (mout.gmx.net [212.227.17.21])\n\tby lists.denx.de (Postfix) with ESMTPS id 97398C21F79\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 08:07:27 +0000 (UTC)","from laptop1.fritz.box ([94.197.120.111]) by mail.gmx.com (mrgmx102\n\t[212.227.17.174]) with ESMTPSA (Nemesis) id 0MVsUW-1dv4yv3WCe-00X317;\n\tFri, 15 Sep 2017 10:06:59 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable\n\tautolearn_force=no version=3.4.0","From":"Heinrich Schuchardt <xypron.glpk@gmx.de>","To":"Alexander Graf <agraf@suse.de>","Date":"Fri, 15 Sep 2017 10:06:09 +0200","Message-Id":"<20170915080619.25250-1-xypron.glpk@gmx.de>","X-Mailer":"git-send-email 2.11.0","X-Provags-ID":"V03:K0:O2Gl0XuOJ0HqCBVJy4P/6OgQ9my98wJHw0SiJN1oTRYHiYWsrGw\n\tk/5BahKtFX19MTygzYJUXApoSLmY2qMsu7a2FazglEAS7ydCXNIJu9PqOgSu9dUMFjBQtic\n\tkl6D/D0TJZVvM7GyVw16PRn5x4zUR0R3dwIn6AVgFF7HMLPJIf4ffNYLr74SyJBHDJRyZgB\n\tuSgTFt3rJEHomvnTneb5w==","X-UI-Out-Filterresults":"notjunk:1; V01:K0:RB/jOKTxWvI=:Lu/xYBO+SG3ZkwaEt02rQK\n\tQYFipt4AfLmpqlhygni5LHYgbvAJfpV4fGiUUE9TzQncppLuUOpBUMSGxBA+wRwcmtEFuLLIy\n\t05Gon3ShRh0wcEux+HmMrb4otadJZiRTRC9zNW5uHcAmbuE0K67venwGOwAgNU4t7xooTv4kc\n\tp6chUNOhYA9Tdy3m4vDyidNXijZLcWBZVdfSTifUFTQErvusB+1BShg7tWqYE95NnvXTkGffh\n\tTqs3BiM3t3po6urWXLRISJKpCM72JBPH9rOBVhl3lTRojjcetVStZK5Wfthww1YCQuOmu0qbF\n\tMaqCmxcuSt3J4gQKtc8iKMCEDC2IKCojrUGpthF4i4bLf29X8Cx5esEwn78Ag8iuQ1SZ1vnM7\n\tWzqnlKSkv6MpEkGrwsbTFNnN4ZrU9avtvwMZ0bXmOIViBdbDlVJu8wGmdftAX3RA1c13YKewi\n\tTfnrmJJlaJ5ppPyjA7AjeyGHo+2SotSxQ0Pyqp9Ewk2MQOexNvUiGB2xBQkb7Vo1/nj8gGb+s\n\tD5utPl0qTwexqh9E6G/NqxHkRTff1boNljs9p8eZBokUeVMxQ/+X3HP4ZNvj6nrunxAV95oJG\n\tim4NomALmzWKdaWiYQjIfW/T8RB6fkgX3NJoLpBs/a6CXL9VqgXgBE75AVTYoPxRuaq9qGiCw\n\tUo4/mWjU6nnQatQfYIm2ZGbNQDyEA24FCOYkDNOrPWu9ehtNBTNMuYhHFnJv1FFQq/hprii43\n\tyMeG9yC20YTCb9v4qaryW+9r11+JrVHb9gluEz9d/NL4Y2LTJG5pWB3do8S7spBnvQSE0tr91\n\teUff5/65OsOjS0/SXQI8zru4OMs/w==","Cc":"=?utf-8?q?=C5=81ukasz_Majewski?= <l.majewski@samsung.com>,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>, Andy Shevchenko\n\t<andriy.shevchenko@linux.intel.com>, u-boot@lists.denx.de, Fabio Estevam\n\t<fabio.estevam@nxp.com>, Maxime Ripard <maxime.ripard@free-electrons.com>","Subject":"[U-Boot] [PATCH 00/10] efi_loader: event services & API test","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"This patch series provides:\n* corrections for the EFI event services\n* a test framework to check the EFI API implementation\n* unit tests covering the event services\n\nThe EFI selftest is written such that it could be easily turned\ninto a standalone EFI application. But this would require\nmodifying the build procedures for EFI. Objcopy cannot generate\nthe necessary relocations.\n\nThe unit tests are identified by entries in a linker generated\narray to make them as self sufficient as possible.\n\nA Python test case is supplied to call run the EFI tests.\n\nTested with Travis CI\nhttps://travis-ci.org/xypron2/u-boot/jobs/275733784\n\nOf all my efi_loader patches these are the first I would like\nto see merged.\n\nSimon has commented on some other patches that he misses\ncomments for all EFI API functions. I will add these with\na separate patch.\n\nHeinrich Schuchardt (10):\n  efi_loader: allow return value in EFI_CALL\n  efi_selftest: provide an EFI selftest application\n  test/py: add a test calling the EFI selftest\n  efi_loader: implement queueing of the notification function\n  efi_loader: efi_set_timer: reset signaled state\n  efi_selftest: provide unit test for event services\n  efi_loader: implement task priority level (TPL)\n  efi_selftest: test task priority levels\n  efi_loader: notify when ExitBootServices is invoked\n  efi_selftest: check notification of ExitBootServices\n\n MAINTAINERS                                      |   5 +-\n cmd/Kconfig                                      |   2 +\n cmd/bootefi.c                                    |  25 ++-\n include/efi_loader.h                             |  30 +++-\n include/efi_selftest.h                           |  91 ++++++++++\n lib/Makefile                                     |   1 +\n lib/efi_loader/efi_boottime.c                    |  83 +++++++--\n lib/efi_loader/efi_console.c                     |   4 +-\n lib/efi_selftest/Kconfig                         |   7 +\n lib/efi_selftest/Makefile                        |  26 +++\n lib/efi_selftest/efi_selftest.c                  | 219 +++++++++++++++++++++++\n lib/efi_selftest/efi_selftest_console.c          | 187 +++++++++++++++++++\n lib/efi_selftest/efi_selftest_events.c           | 195 ++++++++++++++++++++\n lib/efi_selftest/efi_selftest_exitbootservices.c | 106 +++++++++++\n lib/efi_selftest/efi_selftest_tpl.c              | 214 ++++++++++++++++++++++\n test/py/tests/test_efi_selftest.py               |  24 +++\n 16 files changed, 1197 insertions(+), 22 deletions(-)\n create mode 100644 include/efi_selftest.h\n create mode 100644 lib/efi_selftest/Kconfig\n create mode 100644 lib/efi_selftest/Makefile\n create mode 100644 lib/efi_selftest/efi_selftest.c\n create mode 100644 lib/efi_selftest/efi_selftest_console.c\n create mode 100644 lib/efi_selftest/efi_selftest_events.c\n create mode 100644 lib/efi_selftest/efi_selftest_exitbootservices.c\n create mode 100644 lib/efi_selftest/efi_selftest_tpl.c\n create mode 100644 test/py/tests/test_efi_selftest.py"}