Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp216166ybm; Thu, 28 May 2020 00:35:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykPl7A4o2eOh4xuB63bX4BYdg2F6QtXqeauMxtZQ+tOY69Hlnre4aLzI2ybdue7NK1ZhLk X-Received: by 2002:a17:906:14cb:: with SMTP id y11mr1661928ejc.131.1590651357242; Thu, 28 May 2020 00:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590651357; cv=none; d=google.com; s=arc-20160816; b=qShldpYnBQkTPV3d9V9GFk2+g6WY/XFobYmkJOsftI6GTZMnKpeR0m0pDpkHtLPRso 2k4xg+nSrc/D/TCMyRwr+S60nhzPtuCMJwf1py6fC18Eh5+4p/fnIotSYOdVZ2PbpC0c gAVIEcc2VsqHZ8cQC0c4FQirGOAdUDh6kNbyvT1nPRkr5lq4OIthQgSrrBLuBrEo6JcM i154PeW/N9NwzGBtnWHS84xQPxpAemKDjlsNXZyUTbi6K8+0pK4zF6f0wQca6lj05FSe DC4WSF2o0bN9QDKz2SPtOXYsVaIE+peKJ7g6dxMHALm7l6/nld11itrlv6oKvIcIut4x mcWw== 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=wxSwnHOsEgw4AWy5/5JCdFQkqaOrj2EP6HFBKHLG2iY=; b=Z43ePyK3Z0bi6rXiePdFW0vZ9NFGjthNvhr0UU2dBJy2qOKeTK4i/rnazmejqQYZo9 iQs4iv73DP/7wF2CYd/FE/MKP0VntKu3iGRDD7mOBRWuGPNiZ5Eo+AHtjdzFEZEWQdSX B+Z9uQGQ1rs8BF+4TbHWZsz82Zy30anPgi716NHf1/9L/LOS9n2ccHE5pb4wwRoGckTV b2hsawEG6CZdt8SAh43qipGwxrL0l0U5ZrlY2AlAxoRybIEMlFPhzdl5BN4RWiLraPN3 wXivPNhrlzkTzUVsvEMg90NV2tx6xE7I9YclKpo3hX/pRnEHpCHxH51ujGdiEKt5YH88 WWKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b2si3080915edq.115.2020.05.28.00.35.33; Thu, 28 May 2020 00:35:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725779AbgE1Hfb (ORCPT + 99 others); Thu, 28 May 2020 03:35:31 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:35318 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgE1Hfa (ORCPT ); Thu, 28 May 2020 03:35:30 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jeD4T-0000qe-BJ; Thu, 28 May 2020 17:35:22 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 28 May 2020 17:35:21 +1000 Date: Thu, 28 May 2020 17:35:21 +1000 From: Herbert Xu To: Shukun Tan Cc: davem@davemloft.net, linux-crypto@vger.kernel.org, xuzaibo@huawei.com, wangzhou1@hisilicon.com Subject: Re: [PATCH] crypto:hisilicon - fix driver compatibility issue with different versions of devices Message-ID: <20200528073521.GC32600@gondor.apana.org.au> References: <1589966390-37030-1-git-send-email-tanshukun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1589966390-37030-1-git-send-email-tanshukun1@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, May 20, 2020 at 05:19:50PM +0800, Shukun Tan wrote: > From: Weili Qian > > In order to be compatible with devices of different versions, V1 in the > accelerator driver is now isolated, and other versions are the previous > V2 processing flow. > > Signed-off-by: Weili Qian > Signed-off-by: Shukun Tan > Reviewed-by: Zhou Wang > --- > drivers/crypto/hisilicon/hpre/hpre_main.c | 10 +--- > drivers/crypto/hisilicon/qm.c | 89 ++++++++++--------------------- > drivers/crypto/hisilicon/qm.h | 13 ++--- > drivers/crypto/hisilicon/sec2/sec_main.c | 19 ++----- > drivers/crypto/hisilicon/zip/zip_main.c | 20 ++----- > 5 files changed, 39 insertions(+), 112 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt