From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754585AbcGTPK1 (ORCPT ); Wed, 20 Jul 2016 11:10:27 -0400 Received: from mga11.intel.com ([192.55.52.93]:63547 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753847AbcGTPKU (ORCPT ); Wed, 20 Jul 2016 11:10:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,394,1464678000"; d="scan'208";a="1020620864" Date: Wed, 20 Jul 2016 18:10:06 +0300 From: Jarkko Sakkinen To: Andrey Pronin Cc: Peter Huewe , Marcel Selhorst , Jason Gunthorpe , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Christophe Ricard Subject: Re: [PATCH v2 0/2] tpm: add optional max xfer size check Message-ID: <20160720151006.GA7285@intel.com> References: <1468546745-14646-1-git-send-email-apronin@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >