lkml.org 
[lkml]   [2016]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v6 0/5] tpm: Command duration logging and chip-specific override
Date
v6: Split tpm_get_cap_prop() out of tpm_get_timeouts(); always return
error on TPM command failure.

v5: Use msecs_to_jiffies() instead of * HZ / 1000.

v4: Rework tpm_get_timeouts() to allow overriding both timeouts and
durations via a single callback.

This series
- improves TPM command error reporting
- adds optional logging of TPM command durations
- allows chip-specific override of command durations as well as protocol
timeouts
- overrides ST19NP18 TPM command duration to avoid lockups

Ed Swierk (5):
tpm_tis: Improve reporting of IO errors
tpm: Add optional logging of TPM command durations
tpm: Factor out reading of timeout and duration capabilities
tpm: Allow TPM chip drivers to override reported command durations
tpm_tis: Increase ST19NP18 TPM command duration to avoid chip lockup

drivers/char/tpm/tpm-interface.c | 192 ++++++++++++++++++++++-----------------
drivers/char/tpm/tpm_tis.c | 48 +++++-----
include/linux/tpm.h | 3 +-
3 files changed, 132 insertions(+), 111 deletions(-)

--
1.9.1

\
 
 \ /
  Last update: 2016-06-11 04:41    [W:0.944 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site