lkml.org 
[lkml]   [2021]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] crypto: hisilicon/qm - support address prefetching
On Sat, May 22, 2021 at 03:30:04PM +0800, Weili Qian wrote:
> From: Longfang Liu <liulongfang@huawei.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@huawei.com>
> Signed-off-by: Weili Qian <qianweili@huawei.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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2021-05-28 09:30    [W:4.763 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site