Skip to content

retry handling and intermittent self test failure fix

James Bottomley linux-integrity 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tpm: add retry logicdrivers/char/tpm/tpm-interface.c drivers/char/tpm/tpm.h+61 -158 replies
2/2tpm: fix intermittent failure with self testsdrivers/char/tpm/tpm-interface.c drivers/char/tpm/tpm.h drivers/char/tpm/tpm2-cmd.c+31 -400 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJarkko Sakkinen
1/2R-b T-b
2/2T-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] retry handling and intermittent self test failure fix

The original fix for the intermittent self test failure contained a bug in the retry loop that resent the command with a mangled header. This was discovered when coding up the TPM2_RC_RETRY handling, so this two patch series bases the intermittent self test failure fix on the working TPM2_RC_RETRY handling code. This time I actually created an emulator that sends TPM2_RC_TESTING and verified it does work.

James

---

James Bottomley (2):
tpm: add retry logic
tpm: fix intermittent failure with self tests

 drivers/char/tpm/tpm-interface.c | 87 +++++++++++++++++++++++++++++++++-------
 drivers/char/tpm/tpm.h           |  2 +
 drivers/char/tpm/tpm2-cmd.c      | 54 ++++++++-----------------
 3 files changed, 90 insertions(+), 53 deletions(-)
Signature · 1 line
2.12.3