Re: [PATCH 3/3] tpm: ibmvtpm: Add support for TPM 2
From: Jason Gunthorpe
Date: Thu Feb 13 2020 - 13:35:13 EST
On Thu, Feb 13, 2020 at 01:20:12PM -0500, Stefan Berger wrote:
> I don't want side effects for the TPM 1.2 case here, so I am only modifying
> the flag for the case where the new TPM 2 is being used. Here's the code
> where it shows the effect.
I'm surprised this driver is using AUTO_STARTUP, it was intended for
embedded cases where their is no firmware to boot the TPM.
Chips using AUTO_STARTUP are basically useless for PCRs/etc.
I'd expect somthing called vtpm to have been started and PCRs working
before Linux is started??
Jason