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

Ninad Palsule posted 3 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230321053001.3886666-1-ninad@linux.ibm.com
Maintainers: Stefan Berger <stefanb@linux.vnet.ibm.com>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <ani@anisinha.ca>
There is a newer version of this series
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
[PATCH 0/3] Add support for TPM devices over I2C bus
Posted by Ninad Palsule 1 year, 1 month ago
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 zhdaniel@meta.com 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

-- 
2.37.2