[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210528072915.GR7392@gondor.apana.org.au>
Date: Fri, 28 May 2021 15:29:15 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Weili Qian <qianweili@...wei.com>
Cc: davem@...emloft.net, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, xuzaibo@...wei.com,
wangzhou1@...ilicon.com, liulongfang@...wei.com
Subject: Re: [PATCH] crypto: hisilicon/qm - support address prefetching
On Sat, May 22, 2021 at 03:30:04PM +0800, Weili Qian wrote:
> From: Longfang Liu <liulongfang@...wei.com>
>
> Kunpeng930 hardware supports address prefetching to improve performance
> before doing tasks in SVA scenario.
>
> This patch enables this function in device initialization by writing
> hardware registers. In the process of reset, address prefetching is
> disabled to avoid the failure of interaction between accelerator device
> and SMMU.
>
> Signed-off-by: Longfang Liu <liulongfang@...wei.com>
> Signed-off-by: Weili Qian <qianweili@...wei.com>
> ---
> drivers/crypto/hisilicon/hpre/hpre_main.c | 50 +++++++++++++++++++++++++++++++
> drivers/crypto/hisilicon/qm.c | 35 ++++++++++++++++++++++
> drivers/crypto/hisilicon/qm.h | 2 ++
> drivers/crypto/hisilicon/sec2/sec_main.c | 45 ++++++++++++++++++++++++++++
> drivers/crypto/hisilicon/zip/zip_main.c | 50 +++++++++++++++++++++++++++++++
> 5 files changed, 182 insertions(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists