Messages in this thread | | | From | <> | Subject | RE: [tpmdd-devel] [PATCH] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started | Date | Mon, 1 Oct 2012 09:17:28 +0000 |
| |
Hi Jason,
> The TPM will respond to TPM_GET_CAP with TPM_ERR_INVALID_POSTINIT if > TPM_STARTUP has not been issued. This will result in the TPM driver > failing to load and no way to recover. Detect this and automatically > issue TPM_STARTUP.
> This is for embedded applications where the kernel is the first thing > to touch the TPM.
Thanks for working on this. I also thought about this scenario quite often.
Shouldn't we then also add a TpmStartup(ST_STATE) in case of a resume? rc=GetCapability() if(rc==INVALID_POSTINIT) tpm_transmit ("TPM_STARTUP(ST_STATE)")...
Thanks, Peter
| |