2021-05-28 07:48:12

by Herbert Xu

[permalink] [raw]
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 <[email protected]>
>
> 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 <[email protected]>
> Signed-off-by: Weili Qian <[email protected]>
> ---
> 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 <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt