From: Ninad Palsule <ninad@linux.ibm.com>
To: qemu-devel@nongnu.org
Cc: Ninad Palsule <ninad@linux.ibm.com>,
joel@jms.id.au, andrew@aj.id.au, stefanb@linux.ibm.com,
clg@kaod.org
Subject: [PATCH 0/3] Add support for TPM devices over I2C bus
Date: Wed, 22 Mar 2023 22:01:16 -0500 [thread overview]
Message-ID: <20230323030119.2113570-1-ninad@linux.ibm.com> (raw)
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
---
V2:
Incorporated Stephan's comments.
Ninad Palsule (3):
docs: Add support for TPM devices over I2C bus
TPM TIS: Add support for TPM devices over I2C bus
New I2C: Add support for TPM devices over I2C bus
docs/specs/tpm.rst | 20 +-
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 | 32 +++
hw/tpm/tpm_tis_i2c.c | 440 ++++++++++++++++++++++++++++++++++++++++
include/sysemu/tpm.h | 3 +
8 files changed, 506 insertions(+), 1 deletion(-)
create mode 100644 hw/tpm/tpm_tis_i2c.c
--
2.37.2
next reply other threads:[~2023-03-23 3:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-23 3:01 Ninad Palsule [this message]
2023-03-23 3:01 ` [PATCH 1/3] docs: Add support for TPM devices over I2C bus Ninad Palsule
2023-03-23 7:49 ` Cédric Le Goater
2023-03-23 22:11 ` Ninad Palsule
2023-03-24 3:23 ` Ninad Palsule
2023-03-24 5:11 ` Ninad Palsule
2023-03-24 8:01 ` Cédric Le Goater
2023-03-24 12:50 ` Ninad Palsule
2023-03-23 3:01 ` [PATCH 2/3] TPM TIS: " Ninad Palsule
2023-03-23 7:44 ` Cédric Le Goater
2023-03-23 15:35 ` Ninad Palsule
2023-03-23 3:01 ` [PATCH 3/3] New I2C: " Ninad Palsule
2023-03-23 8:37 ` Cédric Le Goater
2023-03-23 22:32 ` Ninad Palsule
2023-03-24 8:06 ` Cédric Le Goater
2023-03-23 12:18 ` Stefan Berger
2023-03-23 20:07 ` Ninad Palsule
2023-03-23 7:23 ` [PATCH 0/3] " Cédric Le Goater
2023-03-23 22:35 ` Ninad Palsule
-- strict thread matches above, loose matches on Subject: below --
2023-03-21 5:29 Ninad Palsule
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230323030119.2113570-1-ninad@linux.ibm.com \
--to=ninad@linux.ibm.com \
--cc=andrew@aj.id.au \
--cc=clg@kaod.org \
--cc=joel@jms.id.au \
--cc=qemu-devel@nongnu.org \
--cc=stefanb@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.