Re: [PATCH v3 3/5] tpm: migrate tpm2_probe() to use struct tpm_buf

From: Jarkko Sakkinen
Date: Fri Mar 16 2018 - 08:21:43 EST


On Mon, Mar 05, 2018 at 05:52:24PM -0500, Mimi Zohar wrote:
> Hi Jarrko,
>
> On Mon, 2018-03-05 at 18:56 +0200, Jarkko Sakkinen wrote:
> > In order to make struct tpm_buf the first class object for constructing TPM
> > commands, migrate tpm2_probe() to use it.
> >
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
>
> With this patch, the Pi doesn't find the TPM.  I'm seeing the
> following line in dmesg.
>
> [    1.087414] tpm_tis_spi: probe of spi0.0 failed with error 256

Thank you for reporting this Mimi. Does it have TPM1/TPM2?

/Jarkko