From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754328AbdIHKAe (ORCPT ); Fri, 8 Sep 2017 06:00:34 -0400 Received: from mga01.intel.com ([192.55.52.88]:42531 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752872AbdIHKAc (ORCPT ); Fri, 8 Sep 2017 06:00:32 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,360,1500966000"; d="scan'208";a="898334310" Date: Fri, 8 Sep 2017 13:00:30 +0300 From: Jarkko Sakkinen To: Alexander Steffen Cc: tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH RESEND v2 0/3] tpm2-cmd: Improve self test execution Message-ID: <20170908100030.zehv5aj5byxyewio@linux.intel.com> References: <20170831171858.13252-1-Alexander.Steffen@infineon.com> <20170906125740.2wntnvllembpil7u@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170906125740.2wntnvllembpil7u@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 06, 2017 at 03:57:40PM +0300, Jarkko Sakkinen wrote: > On Thu, Aug 31, 2017 at 07:18:55PM +0200, Alexander Steffen wrote: > > The self test logic for TPM 2.0 was probably based on the implementation > > for TPM 1.2, but did not correctly take into account some TPM 2.0 specifics. > > This patch series fixes those issues. > > > > v2: > > - Moved implementation description from comment to commit message. > > > > Alexander Steffen (3): > > tpm2-cmd: Trigger only missing self tests > > tpm2-cmd: Use dynamic delay to wait for self test result > > tpm2-cmd: React correctly to RC_TESTING from self tests > > > > drivers/char/tpm/tpm2-cmd.c | 69 +++++++++++++-------------------------------- > > 1 file changed, 20 insertions(+), 49 deletions(-) > > > > -- > > 2.7.4 > > > > Applied to my master for convenient testing. > > /Jarkko Tested-by: Jarkko Sakkinen /Jarkko