Re: [PATCH v2] tpm: consolidate the TPM startup code

2017-06-22 Thread Jarkko Sakkinen
On Wed, Jun 21, 2017 at 07:04:53AM -0400, Stefan Berger wrote: > On 06/21/2017 03:31 AM, Jarkko Sakkinen wrote: > > Consolidated all the "manual" TPM startup code to a single function > > in order to make code flows a bit cleaner and migrate to tpm_buf. > > > > Signed-off-by: Jarkko Sakkinen

Re: [PATCH v2] tpm: consolidate the TPM startup code

2017-06-22 Thread Jarkko Sakkinen
On Wed, Jun 21, 2017 at 07:04:53AM -0400, Stefan Berger wrote: > On 06/21/2017 03:31 AM, Jarkko Sakkinen wrote: > > Consolidated all the "manual" TPM startup code to a single function > > in order to make code flows a bit cleaner and migrate to tpm_buf. > > > > Signed-off-by: Jarkko Sakkinen >

Re: [PATCH v2] tpm: consolidate the TPM startup code

2017-06-21 Thread Stefan Berger
On 06/21/2017 03:31 AM, Jarkko Sakkinen wrote: Consolidated all the "manual" TPM startup code to a single function in order to make code flows a bit cleaner and migrate to tpm_buf. Signed-off-by: Jarkko Sakkinen Tested-by: Stefan Berger

Re: [PATCH v2] tpm: consolidate the TPM startup code

2017-06-21 Thread Stefan Berger
On 06/21/2017 03:31 AM, Jarkko Sakkinen wrote: Consolidated all the "manual" TPM startup code to a single function in order to make code flows a bit cleaner and migrate to tpm_buf. Signed-off-by: Jarkko Sakkinen Tested-by: Stefan Berger FYI: swtpm chardev --vtpm-proxy --tpmstate dir=/tmp

[PATCH v2] tpm: consolidate the TPM startup code

2017-06-21 Thread Jarkko Sakkinen
Consolidated all the "manual" TPM startup code to a single function in order to make code flows a bit cleaner and migrate to tpm_buf. Signed-off-by: Jarkko Sakkinen --- v2: startup type is u16 (not u32) drivers/char/tpm/tpm-interface.c | 67

[PATCH v2] tpm: consolidate the TPM startup code

2017-06-21 Thread Jarkko Sakkinen
Consolidated all the "manual" TPM startup code to a single function in order to make code flows a bit cleaner and migrate to tpm_buf. Signed-off-by: Jarkko Sakkinen --- v2: startup type is u16 (not u32) drivers/char/tpm/tpm-interface.c | 67 +---