mbox

[PULL,0/7] Merge tpm 2023/04/20 v1

Message ID 20230420123247.226312-1-stefanb@linux.ibm.com (mailing list archive)
State New, archived
Headers show

Pull-request

https://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2023-04-20-1

Message

Stefan Berger April 20, 2023, 12:32 p.m. UTC
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

Comments

Richard Henderson April 22, 2023, 4:28 a.m. UTC | #1
On 4/20/23 13:32, Stefan Berger wrote:
> 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

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/8.1 as appropriate.


r~