[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180319093735.GA4587@linux.intel.com>
Date: Mon, 19 Mar 2018 11:37:35 +0200
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Tomas Winkler <tomas.winkler@...el.com>
Cc: Jason Gunthorpe <jgg@...pe.ca>,
Alexander Usyskin <alexander.usyskin@...el.com>,
linux-integrity@...r.kernel.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/5 V3] tpm2: add longer timeouts for creation commands.
On Sat, Mar 10, 2018 at 05:15:45PM +0200, Tomas Winkler wrote:
> TPM2_CC_Create(0x153) and TPM2_CC_CreatePrimary (0x131) involve generation
> of crypto keys which can be a computationally intensive task.
> The timeout is set to 3min.
> Rather than increasing default timeout a new constant is
> added, to not stall for too long on regular commands failures.
>
> Signed-off-by: Tomas Winkler <tomas.winkler@...el.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
PS. Please format the long description properly. Now the lines cut from
weird places. I use gq command in Vim to get that done. The description
itself is nice and concise.
/Jarkko
Powered by blists - more mailing lists