crypto: hisilicon/qm - support new function communication
authorYang Shen <shenyang39@huawei.com>
Fri, 3 Jan 2025 10:21:38 +0000 (18:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jan 2025 03:31:13 +0000 (11:31 +0800)
commit061b27e37238d374d8a6954b22d9c5d07c5db574
tree0981da13b4305db21ad8163b53ccb8cd679734a8
parenta268231678b08eee776797007e05619a5375cbb3
crypto: hisilicon/qm - support new function communication

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@huawei.com>
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_main.c
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/sec2/sec_main.c
drivers/crypto/hisilicon/zip/zip_main.c
include/linux/hisi_acc_qm.h