Skip to content

Commit 061b27e

Browse files
Yang Shenherbertx
authored andcommitted
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 <[email protected]> Signed-off-by: Weili Qian <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent a268231 commit 061b27e

File tree

5 files changed

+178
-61
lines changed

5 files changed

+178
-61
lines changed

drivers/crypto/hisilicon/hpre/hpre_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,6 @@ static int hpre_qm_init(struct hisi_qm *qm, struct pci_dev *pdev)
12091209

12101210
qm->mode = uacce_mode;
12111211
qm->pdev = pdev;
1212-
qm->ver = pdev->revision;
12131212
qm->sqe_size = HPRE_SQE_SIZE;
12141213
qm->dev_name = hpre_name;
12151214

0 commit comments

Comments
 (0)