Skip to content
Commit 8e54caf4 authored by Jason Gunthorpe's avatar Jason Gunthorpe Committed by Peter Huewe
Browse files

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: default avatar"Berg, Christopher" <Christopher.Berg@atmel.com>
Signed-off-by: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>

Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent 3e14d83e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment