crypto: octeontx2 - add support for AF to CPT PF uplink mbox
authorSrujana Challa <schalla@marvell.com>
Tue, 25 Apr 2023 14:06:19 +0000 (19:36 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 May 2023 10:48:01 +0000 (18:48 +0800)
commit5c553114ce7633e76626136b43577553027d01ff
treeed88c2ee988c76afeb08bc811c45631b93514ebe
parentdee3590c34a0475e92fcd60f58a417552e4518ff
crypto: octeontx2 - add support for AF to CPT PF uplink mbox

This patch adds support for AF -> CPT PF uplink mailbox messages
and adds a mailbox handler to submit a CPT instruction from AF as
current architecture doesn't allow AF to submit CPT instruction
directly to HW.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/otx2_cptpf.h
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c