Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c584af19 authored by Jason Gunthorpe's avatar Jason Gunthorpe Committed by Kent Yoder
Browse files

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: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: default avatarPeter Huewe <peter.huewe@infineon.com>
Reviewed-by: default avatarPeter Huewe <peter.huewe@infineon.com>
Signed-off-by: default avatarKent Yoder <key@linux.vnet.ibm.com>
parent 07b133e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment