Re: [PATCH v2 0/2] tpm: add optional max xfer size check

From: Jarkko Sakkinen
Date: Wed Jul 20 2016 - 11:10:30 EST


On Tue, Jul 19, 2016 at 07:34:18PM -0700, Andrey Pronin wrote:
> This patchset introduces an optional maximum transfer size that can
> be specified by a tpm driver. Setting the max_xfer_size helps to catch
> the cases when burstcnt is incorrectly reported by the device (e.g. >64
> for spi - happened in practice) and gracefully handle such situations.

Acknowledged but I won't review these before the second week of August.

I've been active for early this week to give the feedback for the queued
patch sets and make sure that we deliver a solid 4.8 release.

Back to the vacation...

/Jarkko

> v2: removed unnecessary accessors in tpm_tis_core.h, fixed style
>
> Andrey Pronin (2):
> tpm_tis_core: add optional max xfer size check
> tpm_tis_spi: add max xfer size
>
> drivers/char/tpm/tpm_tis_core.c | 18 ++++++++++++++++--
> drivers/char/tpm/tpm_tis_core.h | 1 +
> drivers/char/tpm/tpm_tis_spi.c | 1 +
> 3 files changed, 18 insertions(+), 2 deletions(-)
>
> --
> 2.6.6
>