Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2856634ybl; Thu, 19 Dec 2019 23:06:11 -0800 (PST) X-Google-Smtp-Source: APXvYqyW701ZxyIs0avr3ygAIYWrGFeeT5IJDpOwY+vU9E0SdBozrVrx13SHcvcDosPiKUpVd10U X-Received: by 2002:a05:6830:1294:: with SMTP id z20mr12948590otp.60.1576825571269; Thu, 19 Dec 2019 23:06:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576825571; cv=none; d=google.com; s=arc-20160816; b=HNNu96t2nn1qJZkk51CyZg9N3ogcziejBtVASFM8PBpqrGwxvIHNLGa2DA2hC/uGOU iJVhBJsUu17oPsF61O1elkyqFZQq/jqVFycK/LEiHo1Rgcqc2L8NwZYaAVlT3/B0R3K/ FrwKxox3I85ifcN7F8NRtWj373Seg69xkTMIM2e0/+zdw94kb/IsZbT7T/UtZdBAiReB 7rop8Wub8QMGlgt0B9bPjTJIQAjlNotr7hm3cDvI6MBLLK46Ri9/4l7thRBJ/jQ4zoz+ EQyqk3YIHIdBYBYr4N58hckiwFcxUfnlA0bzeDKdLH5TznL/h+15r7zBqowYfYifa2yT XiKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZaOQLQsYvcbv5Eouu8L0iPZiYiFceaF14Skmx4obgTs=; b=yEzgJZTz2hcJGeLpQIzI6mMro7k97J0u2GrB7KMA7R0mMyzyUTGao81n4I2rD5udfk cJcYE3sImQblDVrGcrJ9OnCO9MLhSxf3f8bSU+7Z9HQFqIHomTCd1xSFJ/D0HX1RAL+A D0HxYM3SUL8A77Xi9JhBFOyOtqjTW4YmMnW6EEUX2GRmd8t8EwVSKf/UBh44Dr9jhJx3 crZC6FuTNcKdDCUGWH2XNU/fAuI2dIOJtVLzPJTUJ5D6j/vp+UY7yCOvAZjoWDSehxZ/ O8vhzBSjQsbVS3jNrp1a77SB2pn7nHGAUTYSV6h3BzmeE3lnVycl6HOpPlw4+9CMBDL0 XfHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si4609931otc.105.2019.12.19.23.06.00; Thu, 19 Dec 2019 23:06:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727176AbfLTHFj (ORCPT + 99 others); Fri, 20 Dec 2019 02:05:39 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:58700 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfLTHFi (ORCPT ); Fri, 20 Dec 2019 02:05:38 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1iiCLv-0008S4-RN; Fri, 20 Dec 2019 15:05:36 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1iiCLu-0007pW-UU; Fri, 20 Dec 2019 15:05:34 +0800 Date: Fri, 20 Dec 2019 15:05:34 +0800 From: Herbert Xu To: Andrei Botila Cc: Horia Geanta , Aymen Sghaier , "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] crypto: caam - remove double buffering for ahash Message-ID: <20191220070534.irfwfn3oltwoigvx@gondor.apana.org.au> References: <1575910796-13897-1-git-send-email-andrei.botila@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1575910796-13897-1-git-send-email-andrei.botila@nxp.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Dec 09, 2019 at 06:59:55PM +0200, Andrei Botila wrote: > Previously double buffering was used for storing previous and next > "less-than-block-size" bytes. Double buffering can be removed by moving > the copy of next "less-than-block-size" bytes after current request is > executed by HW. > > Signed-off-by: Andrei Botila > --- > drivers/crypto/caam/caamhash.c | 158 ++++++++++++--------------------- > 1 file changed, 58 insertions(+), 100 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt