diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2012-11-21 13:54:33 -0700 |
---|---|---|
committer | Kent Yoder <key@linux.vnet.ibm.com> | 2013-02-05 09:38:22 -0600 |
commit | c584af1926b7626ef3bdab3354382cb2bd434d36 (patch) | |
tree | 1d614a9e70d9a5195fa80c89f0027899c5af9531 /samples | |
parent | 07b133e6060ba9de6cf6265fb23f0de8ec78e51c (diff) | |
download | linux-c584af1926b7626ef3bdab3354382cb2bd434d36.tar.bz2 |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions