Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-15 Thread Jarkko Sakkinen
On Mon, Sep 09, 2019 at 05:28:08PM +0100, Jarkko Sakkinen wrote: > On Sat, Sep 07, 2019 at 06:04:48PM -0400, Sasha Levin wrote: > > On Sat, Sep 07, 2019 at 09:55:18PM +0300, Jarkko Sakkinen wrote: > > > On Tue, 2019-09-03 at 15:43 -0400, Sasha Levin wrote: > > > > Right. I gave a go at backporting

Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-11 Thread Sasha Levin
On Mon, Sep 09, 2019 at 05:28:08PM +0100, Jarkko Sakkinen wrote: On Sat, Sep 07, 2019 at 06:04:48PM -0400, Sasha Levin wrote: On Sat, Sep 07, 2019 at 09:55:18PM +0300, Jarkko Sakkinen wrote: > On Tue, 2019-09-03 at 15:43 -0400, Sasha Levin wrote: > > Right. I gave a go at backporting a few patch

Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-09 Thread Jarkko Sakkinen
On Sat, Sep 07, 2019 at 06:04:48PM -0400, Sasha Levin wrote: > On Sat, Sep 07, 2019 at 09:55:18PM +0300, Jarkko Sakkinen wrote: > > On Tue, 2019-09-03 at 15:43 -0400, Sasha Levin wrote: > > > Right. I gave a go at backporting a few patches and this happens to be > > > one of them. It will be a whil

Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-07 Thread Sasha Levin
On Sat, Sep 07, 2019 at 09:55:18PM +0300, Jarkko Sakkinen wrote: On Tue, 2019-09-03 at 15:43 -0400, Sasha Levin wrote: Right. I gave a go at backporting a few patches and this happens to be one of them. It will be a while before it goes in a stable tree (probably way after after LPC). It *sema

Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-07 Thread Jarkko Sakkinen
On Tue, 2019-09-03 at 15:43 -0400, Sasha Levin wrote: > Right. I gave a go at backporting a few patches and this happens to be > one of them. It will be a while before it goes in a stable tree > (probably way after after LPC). It *semantically* depends on db4d8cb9c9f2 ("tpm: use tpm_try_get_ops()

Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-07 Thread Jarkko Sakkinen
On Tue, 2019-09-03 at 09:39 -0700, Doug Anderson wrote: > Hi, > > On Tue, Sep 3, 2019 at 9:28 AM Sasha Levin wrote: > > From: Vadim Sukhomlinov > > > > [ Upstream commit db4d8cb9c9f2af71c4d087817160d866ed572cc9 ] > > > > TPM 2.0 Shutdown involve sending TPM2_Shutdown to TPM chip and disabling

Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-03 Thread Sasha Levin
On Tue, Sep 03, 2019 at 09:53:46AM -0700, Jerry Snitselaar wrote: On Tue Sep 03 19, Doug Anderson wrote: Hi, On Tue, Sep 3, 2019 at 9:28 AM Sasha Levin wrote: From: Vadim Sukhomlinov [ Upstream commit db4d8cb9c9f2af71c4d087817160d866ed572cc9 ] TPM 2.0 Shutdown involve sending TPM2_Shutdow

Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-03 Thread Jerry Snitselaar
On Tue Sep 03 19, Doug Anderson wrote: Hi, On Tue, Sep 3, 2019 at 9:28 AM Sasha Levin wrote: From: Vadim Sukhomlinov [ Upstream commit db4d8cb9c9f2af71c4d087817160d866ed572cc9 ] TPM 2.0 Shutdown involve sending TPM2_Shutdown to TPM chip and disabling future TPM operations. TPM 1.2 behavior

Re: [PATCH AUTOSEL 4.19 126/167] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-09-03 Thread Doug Anderson
Hi, On Tue, Sep 3, 2019 at 9:28 AM Sasha Levin wrote: > > From: Vadim Sukhomlinov > > [ Upstream commit db4d8cb9c9f2af71c4d087817160d866ed572cc9 ] > > TPM 2.0 Shutdown involve sending TPM2_Shutdown to TPM chip and disabling > future TPM operations. TPM 1.2 behavior was different, future TPM > op