Re: [PATCH v8] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-29 Thread Jarkko Sakkinen
On Fri, Jun 29, 2018 at 01:35:52PM +0300, Jarkko Sakkinen wrote: > On Thu, 2018-06-28 at 18:13 +0300, Tomas Winkler wrote: > > Fix tpm ptt initialization error: > > tpm tpm0: A TPM error (378) occurred get tpm pcr allocation. > > > > We cannot use go_idle cmd_ready commands via runtime_pm handles

Re: [PATCH v8] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-29 Thread Jarkko Sakkinen
On Thu, 2018-06-28 at 18:13 +0300, Tomas Winkler wrote: > Fix tpm ptt initialization error: > tpm tpm0: A TPM error (378) occurred get tpm pcr allocation. > > We cannot use go_idle cmd_ready commands via runtime_pm handles > as with the introduction of localities this is no longer an optional > fe

[PATCH v8] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-28 Thread Tomas Winkler
Fix tpm ptt initialization error: tpm tpm0: A TPM error (378) occurred get tpm pcr allocation. We cannot use go_idle cmd_ready commands via runtime_pm handles as with the introduction of localities this is no longer an optional feature, while runtime pm can be not enabled. Though cmd_ready/go_idle