crypto: octeontx2 - add ctx_val workaround
authorSrujana Challa <schalla@marvell.com>
Wed, 13 Dec 2023 07:30:53 +0000 (13:00 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Dec 2023 03:25:39 +0000 (11:25 +0800)
commite92971117c2c895295e5ec9cae4038ef5b17a7ff
tree129d19cbf6c4b8b2c508c873265ef11887a0ee73
parent8bb0be9f53d17c75a829b9d25420645caf6d8581
crypto: octeontx2 - add ctx_val workaround

HW has a errata that CPT HW may hit an issue, while processing CPT
instructions with CTX_VAL set and CTX_VAL not set. So, this patch
adds the code to always set the CTX_VAL as a workaround.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/cn10k_cpt.c
drivers/crypto/marvell/octeontx2/cn10k_cpt.h
drivers/crypto/marvell/octeontx2/otx2_cpt_hw_types.h
drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h
drivers/crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c