Skip to content

Add tests for the TPM TIS

Stefan Berger qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- moved common TPM test code into tpm-emu.c
- clearified a few comments in tpm-tis-test.c, no code changes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests: Move common TPM test code into tpm-emu.ctests/Makefile.include tests/tpm-crb-test.c tests/tpm-emu.c +1 more+210 -1720 replies
2/2tests: add test for TPM TIS deviceMAINTAINERS hw/tpm/tpm_tis.c include/hw/acpi/tpm.h +3 more+601 -1012 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc-André Lureau
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] Add tests for the TPM TIS

This series of patches adds tests for the TPM TIS.

Stefan

v1->v2:
- moved common TPM test code into tpm-emu.c
- clearified a few comments in tpm-tis-test.c, no code changes

Stefan Berger (2):
tests: Move common TPM test code into tpm-emu.c
tests: add test for TPM TIS device

 MAINTAINERS            |   1 +
 hw/tpm/tpm_tis.c       | 101 ----------
 include/hw/acpi/tpm.h  | 105 +++++++++++
 tests/Makefile.include |   4 +-
 tests/tpm-crb-test.c   | 174 +-----------------
 tests/tpm-emu.c        | 175 ++++++++++++++++++
 tests/tpm-emu.h        |  38 ++++
 tests/tpm-tis-test.c   | 486 +++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 811 insertions(+), 273 deletions(-)
 create mode 100644 tests/tpm-emu.c
 create mode 100644 tests/tpm-emu.h
 create mode 100644 tests/tpm-tis-test.c
Signature · 1 line
2.5.5