crypto: octeontx2 - add mailbox communication with AF
authorSrujana Challa <schalla@marvell.com>
Fri, 15 Jan 2021 13:52:20 +0000 (19:22 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Jan 2021 03:58:02 +0000 (14:58 +1100)
commit83ffcf78627f98919ebae3dc6715982cc83176ed
tree010305d9561aa466ebaa1caed49843d15f94c1b1
parent5e8ce8334734c5f23fe54774e989b395bc6da635
crypto: octeontx2 - add mailbox communication with AF

In the resource virtualization unit (RVU) each of the PF and AF
(admin function) share a 64KB of reserved memory region for
communication. This patch initializes PF <=> AF mailbox IRQs,
registers handlers for processing these communication messages.

Signed-off-by: Suheil Chandran <schandran@marvell.com>
Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com>
Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/Makefile
drivers/crypto/marvell/octeontx2/otx2_cpt_common.h
drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c [new file with mode: 0644]
drivers/crypto/marvell/octeontx2/otx2_cptpf.h
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c [new file with mode: 0644]