summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_eventlog.c
diff options
context:
space:
mode:
authorJason Gunthorpe2014-05-22 02:26:44 +0200
committerPeter Huewe2014-07-29 23:10:56 +0200
commit8e54caf407b98efa05409e1fee0e5381abd2b088 (patch)
tree690ed020c643ca869e5fc27686d518cb3a9f5f1e /drivers/char/tpm/tpm_eventlog.c
parenttpm: missing tpm_chip_put in tpm_get_random() (diff)
downloadkernel-qcow2-linux-8e54caf407b98efa05409e1fee0e5381abd2b088.tar.gz
kernel-qcow2-linux-8e54caf407b98efa05409e1fee0e5381abd2b088.tar.xz
kernel-qcow2-linux-8e54caf407b98efa05409e1fee0e5381abd2b088.zip
tpm: Provide a generic means to override the chip returned timeouts
Some Atmel TPMs provide completely wrong timeouts from their TPM_CAP_PROP_TIS_TIMEOUT query. This patch detects that and returns new correct values via a DID/VID table in the TIS driver. Tested on ARM using an AT97SC3204T FW version 37.16 Cc: <stable@vger.kernel.org> [PHuewe: without this fix these 'broken' Atmel TPMs won't function on older kernels] Signed-off-by: "Berg, Christopher" <Christopher.Berg@atmel.com> Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/char/tpm/tpm_eventlog.c')
0 files changed, 0 insertions, 0 deletions