mbox series

[0/3,v3] Inrtoduce TPM TIS

Message ID 20210708082310.87540-1-ilias.apalodimas@linaro.org
Headers show
Series Inrtoduce TPM TIS | expand

Message

Ilias Apalodimas July 8, 2021, 8:23 a.m. UTC
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