All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: "linux-integrity@vger.kernel.org" <linux-integrity@vger.kernel.org>
Subject: [PATCH v2 0/2] retry handling and intermittent self test failure fix
Date: Wed, 21 Mar 2018 11:42:27 -0700	[thread overview]
Message-ID: <1521657747.6397.18.camel@HansenPartnership.com> (raw)

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(-)

-- 
2.12.3

             reply	other threads:[~2018-03-21 18:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-21 18:42 James Bottomley [this message]
2018-03-21 18:43 ` [PATCH v2 1/2] tpm: add retry logic James Bottomley
2018-03-22 15:14   ` Jarkko Sakkinen
2018-03-22 16:13   ` Nayna Jain
2018-03-22 16:31     ` James Bottomley
2018-03-26 14:11       ` Nayna Jain
2018-03-26 14:28         ` James Bottomley
2018-03-26 16:14           ` Mimi Zohar
2018-03-27 15:39             ` James Bottomley
2018-03-27 17:47               ` Mimi Zohar
2018-03-21 18:45 ` [PATCH v2 2/2] tpm: fix intermittent failure with self tests James Bottomley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521657747.6397.18.camel@HansenPartnership.com \
    --to=james.bottomley@hansenpartnership.com \
    --cc=jarkko.sakkinen@linux.intel.com \
    --cc=linux-integrity@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.