Skip to content

Add support for TPM devices over I2C bus

Ninad Palsule qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add support for TPM devices over I2C busdocs/specs/tpm.rst+4 -12 replies
2/3Add support for TPM devices over I2C bushw/tpm/tpm_tis.h hw/tpm/tpm_tis_common.c include/hw/acpi/tpm.h+37 -06 replies
3/3Add support for TPM devices over I2C bushw/tpm/meson.build hw/tpm/tpm_tis_i2c.c include/sysemu/tpm.h+346 -08 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add support for TPM devices over I2C bus

This drop adds support for the TPM devices attached to the I2C bus. It only supports the TPM2 protocol. You need to run it with the external TPM emulator like swtpm. I have tested it with swtpm.

I have refered to the work done by [email protected] but at the core level out implementation is different.
https://github.com/theopolis/qemu/commit/2e2e57cde9e419c36af8071bb85392ad1ed70966

Based-on: $MESSAGE_ID

Ninad Palsule (3):
Add support for TPM devices over I2C bus
Add support for TPM devices over I2C bus
Add support for TPM devices over I2C bus

 docs/specs/tpm.rst      |   5 +-
 hw/tpm/meson.build      |   1 +
 hw/tpm/tpm_tis.h        |   2 +
 hw/tpm/tpm_tis_common.c |  33 ++++
 hw/tpm/tpm_tis_i2c.c    | 342 ++++++++++++++++++++++++++++++++++++++++
 include/hw/acpi/tpm.h   |   2 +
 include/sysemu/tpm.h    |   3 +
 7 files changed, 387 insertions(+), 1 deletion(-)
 create mode 100644 hw/tpm/tpm_tis_i2c.c
Signature · 1 line
2.37.2