From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Sakkinen Subject: Re: [PATCH 3/3] tpm/tpm_crb: cache cmd_size register value. Date: Thu, 8 Sep 2016 16:42:54 +0300 Message-ID: <20160908134254.GA8952@intel.com> References: <1473247953-24617-1-git-send-email-tomas.winkler@intel.com> <1473247953-24617-4-git-send-email-tomas.winkler@intel.com> <20160908110034.GC4712@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20160908110034.GC4712-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Tomas Winkler Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net On Thu, Sep 08, 2016 at 02:00:34PM +0300, Jarkko Sakkinen wrote: > On Wed, Sep 07, 2016 at 02:32:33PM +0300, Tomas Winkler wrote: > > Instead of expensive register access on retrieving cmd_size > > on each send, save the value during initialization in the private > > context. The value doesn't change. > > > > Signed-off-by: Tomas Winkler > > Reviewed-by: Jarkko Sakkinen Tested-by: Jarkko Sakkinen (with Broxton) /Jarkko ------------------------------------------------------------------------------