Skip to contentSkip to conversation

Pull request for efi-2022-01-rc2-2

DISCUSSION Heinrich Schuchardt 2 participants 2 messages Nov 13, 2021 – Nov 14, 2021

lore
Share & tools
lore
#0 lore raw

Dear Tom,

as agreed with Simon I have added the TPMv2 mmio driver to my pull request as this driver is needed for testing the EFI_TCG2_PROTOCOL.

Patch
Dockerfile: build swtpm
https://lists.denx.de/pipermail/u-boot/2021-November/466713.html
is another part of the effort to make the protocol testable.

The following changes since commit 6354913def1f61711c2278bd2616c748f21f69da:

Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-marvell (2021-11-10 09:15:18 -0500)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2022-01-rc2-2

for you to fetch changes up to 2a10e06e07540694d82838793ee7cb34f4dbc59c:

MAINTAINERS: Add entry for TPM drivers (2021-11-10 20:57:54 +0100)

----------------------------------------------------------------
Pull request for efi-2022-01-rc2-2

UEFI:
* fix measurement of BootOrder variable for TCG2 protocol

TPM:
* TIS mmio driver. This driver supports QEMU's emulated TPM.

----------------------------------------------------------------
Ilias Apalodimas (8):
tpm: refactor function names and macros for infineon v1.2 TPM
tpm: refactor function names for LPC based TPMs
tpm2: Introduce TIS tpm core
tpm2: Add a TPMv2 MMIO TIS driver
tpm: Use the new API on tpm2 spi driver
configs: Enable tpmv2 mmio on qemu for arm/arm64
doc: qemu: Add instructions for swtpm usage
MAINTAINERS: Add entry for TPM drivers

Masahisa Kojima (1):
efi_loader: fix BootOrder variable measurement handling

 MAINTAINERS                      |   5 +
 configs/qemu_arm64_defconfig     |   2 +
 configs/qemu_arm_defconfig       |   2 +
 doc/board/emulation/qemu-arm.rst |  25 +++
 drivers/tpm/Kconfig              |   9 +
 drivers/tpm/Makefile             |   3 +-
 drivers/tpm/tpm2_tis_core.c      | 463
+++++++++++++++++++++++++++++++++++++++
 drivers/tpm/tpm2_tis_mmio.c      | 157 +++++++++++++
 drivers/tpm/tpm2_tis_spi.c       | 447
+++----------------------------------
 drivers/tpm/tpm_tis.h            | 136 ++++++++++++
 drivers/tpm/tpm_tis_infineon.c   |  34 +--
 drivers/tpm/tpm_tis_lpc.c        |   4 +-
 include/tpm-v2.h                 |   1 +
 lib/efi_loader/efi_tcg2.c        |   4 +-
 14 files changed, 854 insertions(+), 438 deletions(-)
 create mode 100644 drivers/tpm/tpm2_tis_core.c
 create mode 100644 drivers/tpm/tpm2_tis_mmio.c
#1 lore raw
Quoted 16 lines · Heinrich Schuchardt

Dear Tom,

as agreed with Simon I have added the TPMv2 mmio driver to my pull request as this driver is needed for testing the EFI_TCG2_PROTOCOL.

Patch
Dockerfile: build swtpm
https://lists.denx.de/pipermail/u-boot/2021-November/466713.html
is another part of the effort to make the protocol testable.

The following changes since commit 6354913def1f61711c2278bd2616c748f21f69da:

Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-marvell (2021-11-10 09:15:18 -0500)

Quoted 9 lines

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2022-01-rc2-2

for you to fetch changes up to 2a10e06e07540694d82838793ee7cb34f4dbc59c:

MAINTAINERS: Add entry for TPM drivers (2021-11-10 20:57:54 +0100)

Applied to u-boot/master, thanks!

Signature · 1 line
Tom