All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/10] efi_loader: event services & API test
@ 2017-09-15  8:06 Heinrich Schuchardt
  2017-09-15  8:06 ` [U-Boot] [PATCH 01/10] efi_loader: allow return value in EFI_CALL Heinrich Schuchardt
                   ` (10 more replies)
  0 siblings, 11 replies; 29+ messages in thread
From: Heinrich Schuchardt @ 2017-09-15  8:06 UTC (permalink / raw)
  To: u-boot

This patch series provides:
* corrections for the EFI event services
* a test framework to check the EFI API implementation
* unit tests covering the event services

The EFI selftest is written such that it could be easily turned
into a standalone EFI application. But this would require
modifying the build procedures for EFI. Objcopy cannot generate
the necessary relocations.

The unit tests are identified by entries in a linker generated
array to make them as self sufficient as possible.

A Python test case is supplied to call run the EFI tests.

Tested with Travis CI
https://travis-ci.org/xypron2/u-boot/jobs/275733784

Of all my efi_loader patches these are the first I would like
to see merged.

Simon has commented on some other patches that he misses
comments for all EFI API functions. I will add these with
a separate patch.

Heinrich Schuchardt (10):
  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

 MAINTAINERS                                      |   5 +-
 cmd/Kconfig                                      |   2 +
 cmd/bootefi.c                                    |  25 ++-
 include/efi_loader.h                             |  30 +++-
 include/efi_selftest.h                           |  91 ++++++++++
 lib/Makefile                                     |   1 +
 lib/efi_loader/efi_boottime.c                    |  83 +++++++--
 lib/efi_loader/efi_console.c                     |   4 +-
 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 ++++++++++++++++++++++
 test/py/tests/test_efi_selftest.py               |  24 +++
 16 files changed, 1197 insertions(+), 22 deletions(-)
 create mode 100644 include/efi_selftest.h
 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

-- 
2.11.0

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2017-10-09  4:41 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-15  8:06 [U-Boot] [PATCH 00/10] efi_loader: event services & API test Heinrich Schuchardt
2017-09-15  8:06 ` [U-Boot] [PATCH 01/10] efi_loader: allow return value in EFI_CALL Heinrich Schuchardt
2017-09-25  2:11   ` Simon Glass
2017-09-15  8:06 ` [U-Boot] [PATCH 02/10] efi_selftest: provide an EFI selftest application Heinrich Schuchardt
2017-09-25  2:11   ` Simon Glass
2017-09-15  8:06 ` [U-Boot] [PATCH 03/10] test/py: add a test calling the EFI selftest Heinrich Schuchardt
2017-09-25  2:12   ` Simon Glass
2017-09-15  8:06 ` [U-Boot] [PATCH 04/10] efi_loader: implement queueing of the notification function Heinrich Schuchardt
2017-09-25  2:11   ` Simon Glass
2017-09-25  6:08     ` Heinrich Schuchardt
2017-09-15  8:06 ` [U-Boot] [PATCH 05/10] efi_loader: efi_set_timer: reset signaled state Heinrich Schuchardt
2017-09-25  2:11   ` Simon Glass
2017-09-15  8:06 ` [U-Boot] [PATCH 06/10] efi_selftest: provide unit test for event services Heinrich Schuchardt
2017-09-25  2:11   ` Simon Glass
2017-09-15  8:06 ` [U-Boot] [PATCH 07/10] efi_loader: implement task priority level (TPL) Heinrich Schuchardt
2017-09-25  2:11   ` Simon Glass
2017-09-15  8:06 ` [U-Boot] [PATCH 08/10] efi_selftest: test task priority levels Heinrich Schuchardt
2017-09-25  2:12   ` Simon Glass
2017-09-25  6:18     ` Heinrich Schuchardt
2017-09-15  8:06 ` [U-Boot] [PATCH 09/10] efi_loader: notify when ExitBootServices is invoked Heinrich Schuchardt
2017-09-25  2:12   ` Simon Glass
2017-09-15  8:06 ` [U-Boot] [PATCH 10/10] efi_selftest: check notification of ExitBootServices Heinrich Schuchardt
2017-09-25  2:12   ` Simon Glass
2017-09-25  6:01     ` Heinrich Schuchardt
2017-10-09  4:41       ` Simon Glass
2017-09-17 17:58 ` [U-Boot] [PATCH 00/10] efi_loader: event services & API test Simon Glass
2017-09-17 19:34   ` Rob Clark
2017-09-17 19:36   ` Heinrich Schuchardt
2017-09-17 21:57     ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.