crypto: octeontx2 - remove errata workaround for CN10KB or CN10KA B0 chip.
authorSrujana Challa <schalla@marvell.com>
Wed, 13 Dec 2023 07:30:50 +0000 (13:00 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Dec 2023 03:25:38 +0000 (11:25 +0800)
commit9d1d5702aac831ba844d6227373c49e0ba0ec8ae
tree6bec19ec7366bac062c3d719a0ae968442ff5126
parent82f89f1aa6ca33a6c1e50ddb165e2d5b882025e1
crypto: octeontx2 - remove errata workaround for CN10KB or CN10KA B0 chip.

Adds code to not execute CPT errata "when CPT_AF_DIAG[FLT_DIS] = 0 and a
CPT engine access to LLC/DRAM encounters  a fault/poison, a rare case
may result in unpredictable data being delivered to a CPT engine"
workaround on CN10KA B0/CN10KB HW as it is fixed on these chips.

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