Jason Gunthorpe c584af1926 TPM: Issue TPM_STARTUP at driver load if the TPM has not been started
The TPM will respond to TPM_GET_CAP with TPM_ERR_INVALID_POSTINIT if
TPM_STARTUP has not been issued. Detect this and automatically
issue TPM_STARTUP.

This is for embedded applications where the kernel is the first thing
to touch the TPM.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Peter Huewe <peter.huewe@infineon.com>
Reviewed-by: Peter Huewe <peter.huewe@infineon.com>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
2013-02-05 09:38:22 -06:00
..
2012-10-16 18:07:12 -07:00
2012-11-21 12:55:19 -08:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2012-10-07 07:22:32 -07:00
2012-10-28 19:29:19 +01:00
2012-11-21 12:55:19 -08:00
2011-01-10 08:51:44 -08:00
2012-11-21 12:55:19 -08:00
2012-11-21 12:55:19 -08:00