[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 0/7] Merge tpm 2023/04/20 v1
From: |
Stefan Berger |
Subject: |
[PULL 0/7] Merge tpm 2023/04/20 v1 |
Date: |
Thu, 20 Apr 2023 08:32:40 -0400 |
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
- [PULL 0/7] Merge tpm 2023/04/20 v1,
Stefan Berger <=
- [PULL 4/7] tests/avocado/aspeed: Add TPM TIS I2C test, Stefan Berger, 2023/04/20
- [PULL 5/7] qtest: Add functions for accessing devices on Aspeed I2C controller, Stefan Berger, 2023/04/20
- [PULL 1/7] docs: Add support for TPM devices over I2C bus, Stefan Berger, 2023/04/20
- [PULL 2/7] tpm: Extend common APIs to support TPM TIS I2C, Stefan Berger, 2023/04/20
- [PULL 6/7] qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it, Stefan Berger, 2023/04/20
- [PULL 3/7] tpm: Add support for TPM device over I2C bus, Stefan Berger, 2023/04/20
- [PULL 7/7] qtest: Add a test case for TPM TIS I2C connected to Aspeed I2C controller, Stefan Berger, 2023/04/20
- Re: [PULL 0/7] Merge tpm 2023/04/20 v1, Richard Henderson, 2023/04/22