lkml.org 
[lkml]   [2016]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 4/5] tpm: Allow TPM chip drivers to override reported command durations
On Fri, Jun 10, 2016 at 06:55:06PM -0700, Ed Swierk wrote:
> Some TPM chips report bogus command durations in their capabilities,
> just as others report incorrect timeouts. Rework tpm_get_timeouts() to
> allow chip drivers to override either via a single callback. Also
> clean up handling of TPMs that report milliseconds instead of
> microseconds.
>
> Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>

Again, LGTM but have to test :)

> ---
> drivers/char/tpm/tpm-interface.c | 139 +++++++++++++++++++++------------------
> drivers/char/tpm/tpm_tis.c | 35 +++-------
> include/linux/tpm.h | 3 +-
> 3 files changed, 85 insertions(+), 92 deletions(-)

/Jarkko

\
 
 \ /
  Last update: 2016-06-16 23:01    [W:0.297 / U:7.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site