Re: [PATCH] crypto: hisilicon/qm - support address prefetching
From: Herbert Xu
Date: Fri May 28 2021 - 03:30:01 EST
On Sat, May 22, 2021 at 03:30:04PM +0800, Weili Qian wrote:
> From: Longfang Liu <liulongfang@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt