mirror_ubuntu-kernels/drivers/crypto/marvell/octeontx2
Harman Kalra 4363f3d3ce crypto: octeontx2 - add synchronization between mailbox accesses
Since there are two workqueues implemented in CPTPF driver - one
for handling mailbox requests from VFs and another for handling FLR.
In both cases PF driver will forward the request to AF driver by
writing to mailbox memory. A race condition may arise if two
simultaneous requests are written to mailbox memory. Introducing
locking mechanism to maintain synchronization between multiple
mailbox accesses.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-02-23 15:28:32 +12:00
..
cn10k_cpt.c crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
cn10k_cpt.h crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
Makefile crypto: octeontx2 - parameters for custom engine groups 2021-12-11 16:49:17 +11:00
otx2_cpt_common.h crypto: octeontx2 - add synchronization between mailbox accesses 2022-02-23 15:28:32 +12:00
otx2_cpt_devlink.c crypto: octeontx2 - parameters for custom engine groups 2021-12-11 16:49:17 +11:00
otx2_cpt_devlink.h crypto: octeontx2 - parameters for custom engine groups 2021-12-11 16:49:17 +11:00
otx2_cpt_hw_types.h crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
otx2_cpt_mbox_common.c crypto: octeontx2 - add synchronization between mailbox accesses 2022-02-23 15:28:32 +12:00
otx2_cpt_reqmgr.h crypto: octeontx2 - register with linux crypto framework 2021-01-22 14:58:03 +11:00
otx2_cptlf.c crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
otx2_cptlf.h crypto: octeontx2 - increase CPT HW instruction queue length 2022-02-05 15:10:50 +11:00
otx2_cptpf_main.c crypto: octeontx2 - add synchronization between mailbox accesses 2022-02-23 15:28:32 +12:00
otx2_cptpf_mbox.c crypto: octeontx2 - add synchronization between mailbox accesses 2022-02-23 15:28:32 +12:00
otx2_cptpf_ucode.c crypto: octeontx2 - disable DMA black hole on an DMA fault 2022-02-05 15:10:50 +11:00
otx2_cptpf_ucode.h crypto: octeontx2 - add apis for custom engine groups 2021-12-11 16:49:17 +11:00
otx2_cptpf.h crypto: octeontx2 - add synchronization between mailbox accesses 2022-02-23 15:28:32 +12:00
otx2_cptvf_algs.c crypto: octeontx2 - remove CONFIG_DM_CRYPT check 2022-02-05 15:10:52 +11:00
otx2_cptvf_algs.h crypto: octeontx2 - register with linux crypto framework 2021-01-22 14:58:03 +11:00
otx2_cptvf_main.c crypto: octeontx2 - add support to map LMTST region for CN10K 2021-06-03 20:24:05 +08:00
otx2_cptvf_mbox.c crypto: octeontx2 - Add mailbox support for CN10K 2021-06-03 20:24:05 +08:00
otx2_cptvf_reqmgr.c crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
otx2_cptvf.h crypto: octeontx2 - Add mailbox support for CN10K 2021-06-03 20:24:05 +08:00