Re: [PATCH] crypto: hisilicon/qm - support new function communication

From: Herbert Xu
Date: Mon Jan 13 2025 - 22:41:20 EST


On Fri, Jan 03, 2025 at 06:21:38PM +0800, Weili Qian wrote:
> From: Yang Shen <shenyang39@xxxxxxxxxx>
>
> On the HiSilicon accelerators drivers, the PF/VFs driver can send messages
> to the VFs/PF by writing hardware registers, and the VFs/PF driver receives
> messages from the PF/VFs by reading hardware registers. To support this
> feature, a new version id is added, different communication mechanism are
> used based on different version id.
>
> Signed-off-by: Yang Shen <shenyang39@xxxxxxxxxx>
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/hpre/hpre_main.c | 1 -
> drivers/crypto/hisilicon/qm.c | 233 ++++++++++++++++------
> drivers/crypto/hisilicon/sec2/sec_main.c | 1 -
> drivers/crypto/hisilicon/zip/zip_main.c | 1 -
> include/linux/hisi_acc_qm.h | 3 +
> 5 files changed, 178 insertions(+), 61 deletions(-)

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