crypto: hisilicon/qm - enable PF and VFs communication
authorWeili Qian <qianweili@huawei.com>
Sat, 29 May 2021 14:15:35 +0000 (22:15 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Jun 2021 12:24:07 +0000 (20:24 +0800)
commite3ac4d20e93664755ccea87ad1c71f264a6c9d74
treeec9eda4fe44e1f7d71597989a362cebb60f23fc6
parent38cd3968bf284929162665b002891de5c60d027a
crypto: hisilicon/qm - enable PF and VFs communication

Kunpeng930 hardware supports the communication between PF and VFs.

This patch enables communication between PF and VFs by writing hardware
registers, and requests an irq for communication.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/qm.h