Skip to content

Add support for TPM devices over I2C bus

Ninad Palsule qemu-devel 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest3 patches 6 repliesIn review
  2. v93 patches 4 repliesSuperseded
  3. v83 patches 3 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v73 patches20 repliesSuperseded
v63 patches2 repliesSuperseded
v53 patches0 repliesSuperseded
v43 patches8 repliesSuperseded
v33 patches8 repliesSuperseded
v13 patches15 repliesSuperseded

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3docs: Add support for TPM devices over I2C busdocs/specs/tpm.rst+21 -02 replies
2/3tpm: Extend common APIs to support TPM TIS I2Chw/tpm/tpm_tis.h hw/tpm/tpm_tis_common.c include/hw/acpi/tpm.h+68 -82 replies
3/3tpm: Add support for TPM device over I2C bushw/arm/Kconfig hw/tpm/Kconfig hw/tpm/meson.build +3 more+545 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchStefan BergerCédric Le Goater
1/3R-b R-b
2/3R-b T-b R-b
3/3R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

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

Update to the copyright text.

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):
docs: Add support for TPM devices over I2C bus
tpm: Extend common APIs to support TPM TIS I2C
tpm: Add support for TPM device over I2C bus

 docs/specs/tpm.rst      |  21 ++
 hw/arm/Kconfig          |   1 +
 hw/tpm/Kconfig          |   7 +
 hw/tpm/meson.build      |   1 +
 hw/tpm/tpm_tis.h        |   3 +
 hw/tpm/tpm_tis_common.c |  36 ++-
 hw/tpm/tpm_tis_i2c.c    | 527 ++++++++++++++++++++++++++++++++++++++++
 hw/tpm/trace-events     |   6 +
 include/hw/acpi/tpm.h   |  37 +++
 include/sysemu/tpm.h    |   3 +
 10 files changed, 634 insertions(+), 8 deletions(-)
 create mode 100644 hw/tpm/tpm_tis_i2c.c
Signature · 1 line
2.37.2