[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171221161728.GB20015@ziepe.ca>
Date: Thu, 21 Dec 2017 09:17:28 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: Alexander.Steffen@...ineon.com
Cc: chiu@...lessm.com, peterhuewe@....de,
jarkko.sakkinen@...ux.intel.com, linux-integrity@...r.kernel.org,
linux-kernel@...r.kernel.org, linux@...lessm.com
Subject: Re: TPM driver breaks S3 suspend
On Thu, Dec 21, 2017 at 10:19:09AM +0000, Alexander.Steffen@...ineon.com wrote:
> The correct solution should be something like tpm2_auto_startup
> (execute selftests, if they fail because of the missing startup
> command, execute that and retry the selftests). Interestingly,
> tpm1_auto_startup (same purpose as tpm2_auto_startup, but for TPM
> 1.2 instead) does not use the same sequence, the startup-retry part
> is missing. Is there any reason this is done differently for TPM
> 1.2?
No TPM 1.2 has needed the retry loop so far.. don't see any problem
with adding it if the spec supports it.
Jason
Powered by blists - more mailing lists