diff options
author | 2012-11-21 13:54:33 -0700 | |
---|---|---|
committer | 2013-02-05 09:38:22 -0600 | |
commit | c584af1926b7626ef3bdab3354382cb2bd434d36 (patch) | |
tree | 1d614a9e70d9a5195fa80c89f0027899c5af9531 /lib/spinlock_debug.c | |
parent | char/tpm: simplify duration calculation and eliminate smatch warning. (diff) | |
download | linux-dev-c584af1926b7626ef3bdab3354382cb2bd434d36.tar.xz linux-dev-c584af1926b7626ef3bdab3354382cb2bd434d36.zip |
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 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions