[PATCH 0/3 v3] Inrtoduce TPM TIS

Ilias Apalodimas ilias.apalodimas at linaro.org
Thu Jul 8 10:23:05 CEST 2021


Introduce a TPM TIS layer, which can be used for all the TIS TPMs.
We can slowly start converting all the TPM TIS based drivers and remove a
lot of code duplication. 
The series also adds an MMIO based driver, which can be used on QEMU along
with swtpm [1]  to provide selftests for the EFI TCG protocol

Changes since v1:
- introduce TPM TIS APUI
Changes since v2:
- Add myself as a maintainer on TPM drivers

[1] https://qemu.readthedocs.io/en/latest/specs/tpm.html

Ilias Apalodimas (3):
  tpm2: Introduce TIS tpm core
  tpm2: Add a TPMv2 MMIO TIS driver
  MAINTAINERS: Add entry for TPM drivers

 MAINTAINERS                 |   5 +
 drivers/tpm/Kconfig         |   9 +
 drivers/tpm/Makefile        |   1 +
 drivers/tpm/tpm2_tis_core.c | 545 ++++++++++++++++++++++++++++++++++++
 drivers/tpm/tpm2_tis_mmio.c | 156 +++++++++++
 drivers/tpm/tpm_tis.h       |  40 +++
 include/tpm-v2.h            |   1 +
 7 files changed, 757 insertions(+)
 create mode 100644 drivers/tpm/tpm2_tis_core.c
 create mode 100644 drivers/tpm/tpm2_tis_mmio.c

-- 
2.32.0.rc0



More information about the U-Boot mailing list