mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
The current TPM TIS driver in git discards the timeout values returned from the TPM. The check of the response packet needs to consider that the return_code field is 0 on success and the size of the expected packet is equivalent to the header size + u32 length indicator for the TPM_GetCapability() result + 3 timeout indicators of type u32. I am also adding a sysfs entry 'timeouts' showing the timeouts that are being used. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Tested-by: Guillaume Chazarain <guichaz@gmail.com> Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com> |
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| tpm.c | ||
| tpm.h | ||
| tpm_atmel.c | ||
| tpm_atmel.h | ||
| tpm_bios.c | ||
| tpm_infineon.c | ||
| tpm_nsc.c | ||
| tpm_tis.c | ||