tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tpm: add optional max xfer size check
@ 2016-07-15  1:39 Andrey Pronin
  2016-07-15  1:39 ` [PATCH 1/2] tpm_tis_core: " Andrey Pronin
       [not found] ` <1468546745-14646-1-git-send-email-apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
  0 siblings, 2 replies; 18+ messages in thread
From: Andrey Pronin @ 2016-07-15  1:39 UTC (permalink / raw)
  To: Jarkko Sakkinen
  Cc: Peter Huewe, Marcel Selhorst, Jason Gunthorpe, tpmdd-devel,
	linux-kernel, Andrey Pronin, groeck, smbarber, dianders

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.

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 | 17 +++++++++++++++--
 drivers/char/tpm/tpm_tis_core.h | 13 +++++++++++++
 drivers/char/tpm/tpm_tis_spi.c  |  1 +
 3 files changed, 29 insertions(+), 2 deletions(-)

-- 
2.6.6

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-08-09  8:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-15  1:39 [PATCH 0/2] tpm: add optional max xfer size check Andrey Pronin
2016-07-15  1:39 ` [PATCH 1/2] tpm_tis_core: " Andrey Pronin
     [not found]   ` <1468546745-14646-2-git-send-email-apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2016-07-15  3:13     ` Jason Gunthorpe
2016-07-15  3:25       ` Andrey Pronin
2016-07-15  3:48         ` Guenter Roeck
     [not found]       ` <20160715031351.GD9347-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-07-18 18:53         ` Jarkko Sakkinen
     [not found] ` <1468546745-14646-1-git-send-email-apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2016-07-15  1:39   ` [PATCH 2/2] tpm_tis_spi: add max xfer size Andrey Pronin
2016-07-20  2:34   ` [PATCH v2 0/2] tpm: add optional max xfer size check Andrey Pronin
2016-07-20  2:34     ` [PATCH v2 2/2] tpm_tis_spi: add max xfer size Andrey Pronin
     [not found]   ` <cover.1468981325.git.apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2016-07-20  2:34     ` [PATCH v2 1/2] tpm_tis_core: add optional max xfer size check Andrey Pronin
2016-07-20 15:10     ` [PATCH v2 0/2] tpm: " Jarkko Sakkinen
2016-07-28  3:49   ` [PATCH v3 " Andrey Pronin
     [not found]   ` <1469677797-74304-1-git-send-email-apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2016-07-28  3:49     ` [PATCH v3 1/2] tpm_tis_core: " Andrey Pronin
2016-07-28 22:52       ` Dmitry Torokhov
     [not found]       ` <1469677797-74304-2-git-send-email-apronin-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2016-08-09  8:14         ` Jarkko Sakkinen
2016-07-28  3:49     ` [PATCH v3 2/2] tpm_tis_spi: add max xfer size Andrey Pronin
2016-07-28 22:53       ` Dmitry Torokhov
2016-08-09  8:14         ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).