summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2012-11-21 13:54:33 -0700
committerKent Yoder <key@linux.vnet.ibm.com>2013-02-05 09:38:22 -0600
commitc584af1926b7626ef3bdab3354382cb2bd434d36 (patch)
tree1d614a9e70d9a5195fa80c89f0027899c5af9531 /samples
parent07b133e6060ba9de6cf6265fb23f0de8ec78e51c (diff)
downloadlinux-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