Re: [PATCH v11 15/20] tpm: Ensure tpm is in known state at startup
From: Jarkko Sakkinen
Date: Sat Nov 02 2024 - 10:03:10 EST
On Fri Sep 13, 2024 at 11:05 PM EEST, Ross Philipson wrote:
> From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
>
> When tis_tis_core initializes, it assumes all localities are closed. There
> are cases when this may not be the case. This commit addresses this by
> ensuring all localities are closed before initializing begins.
Replace with:
"tpm_tis: Close all localities to ensure D-RTM compatibility
There are environments, for example, those that comply with the TCG D-RTM
specification that requires the TPM to be left in locality 2. Prepare
kernel for such environments by closing all the localities."
Please don't do anything to the code change (despite my one random
earlier comment).
BR, Jarkko