diff options
author | Jarkko Sakkinen <[email protected]> | 2014-12-12 11:46:40 -0800 |
---|---|---|
committer | Peter Huewe <[email protected]> | 2015-01-17 14:00:12 +0100 |
commit | aec04cbdf7231c1b0da76172de82dfa2388a80d7 (patch) | |
tree | c669ac6cceb4ada22d1178419c2d111db6ed2393 /net/lapb/lapb_in.c | |
parent | 30fc8d138e9123f374a3c3867e7c7c5cd4004941 (diff) |
tpm: TPM 2.0 FIFO Interface
Detect TPM 2.0 by sending idempotent TPM 2.x command. Ordinals for
TPM 2.0 are higher than TPM 1.x commands so this should be fail-safe.
Using STS3 is unreliable because some chips just report 0xff and not
what the spec says.
Before TPM family is detected, timeouts are set to the maximum values
for both TPM 1.x and TPM 2.x. In addition to this, suspend/resume
functionality is implemented for TPM 2.x.
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Will Arthur <[email protected]>
Reviewed-by: Jasob Gunthorpe <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Reviewed-by: Peter Huewe <[email protected]>
Tested-by: Peter Huewe <[email protected]>
Signed-off-by: Peter Huewe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions