[Skiboot] [PATCH v2 0/3] Fix tpm_extendl() for multiple/no TPM scenarios

Stewart Smith stewart at linux.vnet.ibm.com
Wed Nov 2 18:33:16 AEDT 2016


Claudio Carvalho <cclaudio at linux.vnet.ibm.com> writes:
> This fixes libstb/tpm_chip.c:tpm_extendl() to cover two scenarios:
> 1) the system is booting in trusted mode and the system have multiple TPMs. The
> patch 1/3 disables not only the first TPM that fails but rather all the TPM
> that fail in order to keep the enabled TPMs consistent.
> 2) the system is booting in trusted mode but skiboot did not find either a tpm
> device in the devtree or a compatible driver. The patch 3/3 just don't try to
> measure a given data if there is no tpm_chip registered/enabled.
>
> The patch 3/3, turn the logging (opal msg log) over to tpm_extendl().
>
> Claudio Carvalho (3):
>   tpm_extendl: disable all failed tpms rather than only the first
>   tpm_extendl: log the calling results
>   tpm_extendl: don't measure when no tpm is registered

Thanks, series merged to master as of 635537dba33dfb78f4383d9271d52def17b31a95

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list