From: Heinrich Schuchardt Date: Sun, 2 Jun 2019 17:47:00 +0200 Subject: [U-Boot] Pull request for UEFI sub-system for v2019.07-rc4 Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The following changes since commit 8a802a2eefd36865eaa3d927d1db7af63bb2d922: Merge tag 'rockchip-for-v2019.07-rc3' of git://git.denx.de/u-boot-rockchip (2019-05-31 07:17:09 -0400) are available in the Git repository at: git://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc4 for you to fetch changes up to 7950e8e2ebcd0f733ae2b00dbefefe1b742514bc: efi_selftest: unit test for OpenProtocolInformation() (2019-06-01 22:40:24 +0200) ---------------------------------------------------------------- Pull request for UEFI sub-system for v2019.07-rc4 Corrections for boottime services for protocols and for the SetTime() service are provided. Error messages for the 'setenv -e' and 'bootefi bootmgr' commands are added. Travis CI shows no errors: https://travis-ci.org/xypron2/u-boot/builds/540203844 Primary key fingerprint: 6DC4 F9C7 1F29 A6FA 06B7 6D33 C481 DBBC 2C05 1AC4 This is the overall status of the UEFE SCT tests for boot services: Service\Protocol Name Total Failed Passed ------------------------------------------------------ EventTimerandPriorityServicesTest 34 8 26 MemoryAllocationServicesTest 102 0 102 ProtocolHandlerServicesTest 1214 21 1193 ImageServicesTest 123 16 107 MiscBootServicesTest 132 9 123 ------------------------------------------------------ Total 1605 54 1551 For details see: https://raw.githubusercontent.com/U-Boot-EFI/u-boot-sct-results/master/boottime_20190601.csv I have created this bug report for the UEFI SCT: https://bugzilla.tianocore.org/show_bug.cgi?id=1869 ---------------------------------------------------------------- AKASHI Takahiro (2): cmd: env: print a message when setting UEFI variable failed efi_loader: bootmgr: print a message when loading from BootNext failed Heinrich Schuchardt (15): efi_loader: correct notification of protocol installation efi_loader: factor out efi_check_register_notify_event() efi_loader: registration key in LocateProtocol() efi_loader: correct OpenProtocol() efi_loader: avoid crash in OpenProtocol() efi_loader: correct UninstallProtocolInterface() rtc: export rtc_month_days() efi_loader: check time in SetTime() efi_loader: export efi_set_time() efi_loader: handling of daylight saving time efi_loader: Kconfig entries for GetTime(), SetTime() efi_loader: correct HandleProtocol() efi_loader: open protocol information efi_loader: CloseProtocol() fix open protocol information efi_selftest: unit test for OpenProtocolInformation() cmd/nvedit_efi.c | 10 +- drivers/rtc/rtc-lib.c | 2 +- include/efi_loader.h | 28 +++- include/rtc.h | 8 + lib/efi_loader/Kconfig | 16 ++ lib/efi_loader/efi_bootmgr.c | 6 +- lib/efi_loader/efi_boottime.c | 188 ++++++++++++++++------ lib/efi_loader/efi_runtime.c | 39 ++++- lib/efi_selftest/Makefile | 3 +- lib/efi_selftest/efi_selftest_open_protocol.c | 205 ++++++++++++++++++++++++ lib/efi_selftest/efi_selftest_register_notify.c | 21 ++- lib/efi_selftest/efi_selftest_rtc.c | 17 +- 12 files changed, 459 insertions(+), 84 deletions(-) create mode 100644 lib/efi_selftest/efi_selftest_open_protocol.c