mbox series

Pull request for UEFI sub-system for efi-2021-01-rc3

Message ID c2794d5c-d889-2f87-0f64-fb69649fe5c0@gmx.de
State Accepted
Delegated to: Tom Rini
Headers show
Series Pull request for UEFI sub-system for efi-2021-01-rc3 | expand

Pull-request

https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2021-01-rc3

Message

Heinrich Schuchardt Nov. 14, 2020, 1:04 p.m. UTC
Dear Tom,

The following changes since commit 832bfad7451e2e7bd23c96edff2be050905ac3f6:

  libfdt: Fix signedness comparison warnings (2020-11-10 14:31:08 -0500)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2021-01-rc3

for you to fetch changes up to af69267c3208e33378241f282a26ea7d50ec691f:

  efi_selftest: provide unit test for the EFI_TCG2_PROTOCOL (2020-11-14
05:05:46 +0100)

No problem was reported by Gitlab CI and Travis CI:
https://travis-ci.org/github/xypron2/u-boot/builds/743546819
https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/5339
----------------------------------------------------------------
Pull request for UEFI sub-system for efi-2021-01-rc3

A part of the EFI_TCG2_PROTOCOL is implemented.
A unit test is supplied.

The following bugs are fixed:

* incorrect buffer size in efi_file_setinfo() leading to creash in SCT
* a crash in UEFI selftest on the sandbox due to removed drivers
* missing newlines in log message for the UEFI RNG driver

----------------------------------------------------------------
Heinrich Schuchardt (3):
      efi_selftest: keep devices in ExitBootServices()
      efi_loader: incorrect buffer size in efi_file_setinfo()
      efi_selftest: provide unit test for the EFI_TCG2_PROTOCOL

Ilias Apalodimas (2):
      tpm: Add some headers from the spec
      efi_loader: Add basic EFI_TCG2_PROTOCOL support

Paulo Alcantara (1):
      efi_loader: Add missing newline to log_{err,warning}

 include/efi_loader.h                 |   5 +
 include/efi_tcg2.h                   |  94 ++++++
 include/tpm-v2.h                     |  77 +++++
 lib/efi_loader/Kconfig               |   7 +
 lib/efi_loader/Makefile              |   1 +
 lib/efi_loader/efi_boottime.c        |  13 +-
 lib/efi_loader/efi_file.c            |   2 +-
 lib/efi_loader/efi_rng.c             |   4 +-
 lib/efi_loader/efi_setup.c           |   7 +
 lib/efi_loader/efi_tcg2.c            | 534
+++++++++++++++++++++++++++++++++++
 lib/efi_selftest/Makefile            |   1 +
 lib/efi_selftest/efi_selftest.c      |   3 +
 lib/efi_selftest/efi_selftest_tcg2.c |  75 +++++
 13 files changed, 816 insertions(+), 7 deletions(-)
 create mode 100644 include/efi_tcg2.h
 create mode 100644 lib/efi_loader/efi_tcg2.c
 create mode 100644 lib/efi_selftest/efi_selftest_tcg2.c

Comments

Tom Rini Nov. 15, 2020, 3:12 p.m. UTC | #1
On Sat, Nov 14, 2020 at 02:04:15PM +0100, Heinrich Schuchardt wrote:

> Dear Tom,
> 
> The following changes since commit 832bfad7451e2e7bd23c96edff2be050905ac3f6:
> 
>   libfdt: Fix signedness comparison warnings (2020-11-10 14:31:08 -0500)
> 
> are available in the Git repository at:
> 
>   https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git
> tags/efi-2021-01-rc3
> 
> for you to fetch changes up to af69267c3208e33378241f282a26ea7d50ec691f:
> 
>   efi_selftest: provide unit test for the EFI_TCG2_PROTOCOL (2020-11-14
> 05:05:46 +0100)
> 
> No problem was reported by Gitlab CI and Travis CI:
> https://travis-ci.org/github/xypron2/u-boot/builds/743546819
> https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/5339

Applied to u-boot/master, thanks!
Ilias Apalodimas Nov. 15, 2020, 5:17 p.m. UTC | #2
Hi,

I just noticed the wrong version was included in this PR.
We merged my v4 instead of my v5 (
https://lists.denx.de/pipermail/u-boot/2020-November/432663.html).
The changes between v4/v5 we re mostly cosmetic, how do you want to handle
this?
Shall I send a diff from v4->v5 or Heinrich can pull the changes directly
to his tree?

Regards
/Ilias



On Sun, 15 Nov 2020 at 17:13, Tom Rini <trini@konsulko.com> wrote:

> On Sat, Nov 14, 2020 at 02:04:15PM +0100, Heinrich Schuchardt wrote:
>
> > Dear Tom,
> >
> > The following changes since commit
> 832bfad7451e2e7bd23c96edff2be050905ac3f6:
> >
> >   libfdt: Fix signedness comparison warnings (2020-11-10 14:31:08 -0500)
> >
> > are available in the Git repository at:
> >
> >   https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git
> > tags/efi-2021-01-rc3
> >
> > for you to fetch changes up to af69267c3208e33378241f282a26ea7d50ec691f:
> >
> >   efi_selftest: provide unit test for the EFI_TCG2_PROTOCOL (2020-11-14
> > 05:05:46 +0100)
> >
> > No problem was reported by Gitlab CI and Travis CI:
> > https://travis-ci.org/github/xypron2/u-boot/builds/743546819
> > https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/5339
>
> Applied to u-boot/master, thanks!
>
> --
> Tom
>