All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add support for TPM devices over I2C bus
@ 2023-03-25  4:37 Ninad Palsule
  2023-03-25  4:37 ` [PATCH v4 1/3] docs: " Ninad Palsule
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ninad Palsule @ 2023-03-25  4:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: Ninad Palsule, joel, andrew, stefanb, clg

Hello,

I have incorporated review comments from Stefan and Cedric. Please
review.

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):
  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      |  32 +++
 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 |  28 +++
 hw/tpm/tpm_tis_i2c.c    | 492 ++++++++++++++++++++++++++++++++++++++++
 hw/tpm/trace-events     |   6 +
 include/hw/acpi/tpm.h   |  28 +++
 include/sysemu/tpm.h    |   3 +
 10 files changed, 601 insertions(+)
 create mode 100644 hw/tpm/tpm_tis_i2c.c

-- 
2.37.2



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-26  1:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25  4:37 [PATCH v4 0/3] Add support for TPM devices over I2C bus Ninad Palsule
2023-03-25  4:37 ` [PATCH v4 1/3] docs: " Ninad Palsule
2023-03-25 16:10   ` Stefan Berger
2023-03-26  1:13     ` Ninad Palsule
2023-03-25  4:37 ` [PATCH v4 2/3] tpm: Extend common APIs to support TPM TIS I2C Ninad Palsule
2023-03-25 16:12   ` Stefan Berger
2023-03-26  1:16     ` Ninad Palsule
2023-03-25  4:37 ` [PATCH v4 3/3] tpm: Add support for TPM device over I2C bus Ninad Palsule
2023-03-25 16:44   ` Stefan Berger
2023-03-26  1:54     ` Ninad Palsule
2023-03-25 16:46   ` Stefan Berger
2023-03-26  1:09     ` Ninad Palsule

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.