Skip to content

tpm: Some fixes

Stefan Berger qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 6 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- more elaborate commit messages

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tpm: tpm_spapr: Exit on TPM backend failureshw/tpm/tpm_spapr.c+4 -11 reply
2/2tests: tpm: Skip over pcrUpdateCounter byte in result comparisontests/qtest/tpm-util.c+5 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

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

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

Read the v3 thread

Cover letter [PATCH v3 0/2] tpm: Some fixes

This series of patches fixes the TPM SPAPR device model so that it reacts in the same way as the other device models do when the backend device did not start up properly. It now calls exit(1).

Due to a change in the TPM 2 code, the pcrUpdateCounter (14th byte) in the TPM2_Pcrread response now returns a different value than before. So it's better to skip the 14th byte when comparing expected against actual responses.

Stefan

v2->v3:
- more elaborate commit messages

v1->v2:
- simplified skipping of 14th byte in response

Stefan Berger (2):
tpm: tpm_spapr: Exit on TPM backend failures
tests: tpm: Skip over pcrUpdateCounter byte in result comparison

 hw/tpm/tpm_spapr.c     | 5 ++++-
 tests/qtest/tpm-util.c | 6 +++++-
 2 files changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.24.1