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

From: Jarkko Sakkinen
Date: Thu Jun 22 2017 - 06:03:03 EST


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 <jarkko.sakkinen@xxxxxxxxxxxxxxx>
>
> Tested-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>
>
>
> FYI:
> swtpm chardev --vtpm-proxy --tpmstate dir=/tmp --log level=1 --tpm2
> swtpm chardev --vtpm-proxy --tpmstate dir=/tmp --log level=1

Thank you! I will also add your Tested-by to

- https://patchwork.kernel.org/patch/9799059/
- https://patchwork.kernel.org/patch/9799057/

I'm in the process of enhancing my BuildRoot enviroment with libtpms and
swtpm packages. My first target is TPM 1.2 test environment by using
tpm_vtpm_proxy driver.

http://git.infradead.org/users/jjs/buildroot-tpmdd.git

Should be easy as you have nicely autooled projects :-)

/Jarkko