summaryrefslogtreecommitdiff
path: root/drivers/crypto/hisilicon/hpre
diff options
context:
space:
mode:
authorYang Shen <shenyang39@huawei.com>2025-01-03 18:21:38 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-01-14 11:31:13 +0800
commit061b27e37238d374d8a6954b22d9c5d07c5db574 (patch)
tree0981da13b4305db21ad8163b53ccb8cd679734a8 /drivers/crypto/hisilicon/hpre
parenta268231678b08eee776797007e05619a5375cbb3 (diff)
downloadlwn-061b27e37238d374d8a6954b22d9c5d07c5db574.tar.gz
lwn-061b27e37238d374d8a6954b22d9c5d07c5db574.zip
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>
Diffstat (limited to 'drivers/crypto/hisilicon/hpre')
-rw-r--r--drivers/crypto/hisilicon/hpre/hpre_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/hpre/hpre_main.c b/drivers/crypto/hisilicon/hpre/hpre_main.c
index 5b4c65440d06..f5b47e5ff48a 100644
--- a/drivers/crypto/hisilicon/hpre/hpre_main.c
+++ b/drivers/crypto/hisilicon/hpre/hpre_main.c
@@ -1209,7 +1209,6 @@ static int hpre_qm_init(struct hisi_qm *qm, struct pci_dev *pdev)
qm->mode = uacce_mode;
qm->pdev = pdev;
- qm->ver = pdev->revision;
qm->sqe_size = HPRE_SQE_SIZE;
qm->dev_name = hpre_name;