From: Stefan Berger <stefanb@linux.ibm.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, Stefan Berger <stefanb@linux.ibm.com>
Subject: [PULL 0/7] Merge tpm 2023/04/20 v1
Date: Thu, 20 Apr 2023 08:32:40 -0400 [thread overview]
Message-ID: <20230420123247.226312-1-stefanb@linux.ibm.com> (raw)
Hello!
This series provides TPM I2C device model support along with test cases.
Regards,
Stefan
The following changes since commit 2d82c32b2ceaca3dc3da5e36e10976f34bfcb598:
Open 8.1 development tree (2023-04-20 10:05:25 +0100)
are available in the Git repository at:
https://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2023-04-20-1
for you to fetch changes up to 9d81aa3c0fe7480d722517f69e1bcb4aeaaf859c:
qtest: Add a test case for TPM TIS I2C connected to Aspeed I2C controller (2023-04-20 08:17:15 -0400)
Joel Stanley (1):
tests/avocado/aspeed: Add TPM TIS I2C test
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
Stefan Berger (3):
qtest: Add functions for accessing devices on Aspeed I2C controller
qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it
qtest: Add a test case for TPM TIS I2C connected to Aspeed I2C
controller
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 | 571 ++++++++++++++++++++
hw/tpm/trace-events | 6 +
include/hw/acpi/tpm.h | 41 ++
include/hw/i2c/aspeed_i2c.h | 7 +
include/sysemu/tpm.h | 3 +
tests/avocado/machine_aspeed.py | 42 +-
tests/qtest/meson.build | 3 +
tests/qtest/qtest_aspeed.c | 117 +++++
tests/qtest/qtest_aspeed.h | 41 ++
tests/qtest/tpm-crb-swtpm-test.c | 3 -
tests/qtest/tpm-crb-test.c | 3 -
tests/qtest/tpm-tis-device-swtpm-test.c | 5 +-
tests/qtest/tpm-tis-i2c-test.c | 663 ++++++++++++++++++++++++
tests/qtest/tpm-tis-swtpm-test.c | 5 +-
tests/qtest/tpm-tis-util.c | 47 +-
tests/qtest/tpm-tis-util.h | 4 +
tests/qtest/tpm-util.c | 45 --
tests/qtest/tpm-util.h | 3 -
24 files changed, 1609 insertions(+), 69 deletions(-)
create mode 100644 hw/tpm/tpm_tis_i2c.c
create mode 100644 tests/qtest/qtest_aspeed.c
create mode 100644 tests/qtest/qtest_aspeed.h
create mode 100644 tests/qtest/tpm-tis-i2c-test.c
--
2.39.1
next reply other threads:[~2023-04-20 12:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-20 12:32 Stefan Berger [this message]
2023-04-20 12:32 ` [PULL 1/7] docs: Add support for TPM devices over I2C bus Stefan Berger
2023-04-20 12:32 ` [PULL 2/7] tpm: Extend common APIs to support TPM TIS I2C Stefan Berger
2023-04-20 12:32 ` [PULL 3/7] tpm: Add support for TPM device over I2C bus Stefan Berger
2023-04-20 12:32 ` [PULL 4/7] tests/avocado/aspeed: Add TPM TIS I2C test Stefan Berger
2023-04-20 12:32 ` [PULL 5/7] qtest: Add functions for accessing devices on Aspeed I2C controller Stefan Berger
2023-04-20 12:32 ` [PULL 6/7] qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it Stefan Berger
2023-04-20 12:32 ` [PULL 7/7] qtest: Add a test case for TPM TIS I2C connected to Aspeed I2C controller Stefan Berger
2023-04-22 4:28 ` [PULL 0/7] Merge tpm 2023/04/20 v1 Richard Henderson
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=20230420123247.226312-1-stefanb@linux.ibm.com \
--to=stefanb@linux.ibm.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).