# Re: \[PATCH\] crypto: octeontx2: disable DMA black hole on an DMA fault

- From: Herbert Xu \<herbert@gondor.apana.org.au\>
- Date: 2022-02-05 04:30:56 
- List: netdev
- Page: https://ratatoskr.run/netdev/2022/02/1659470
- Thread: https://ratatoskr.run/linux-crypto/2022/01/1647374/t.md

```text
On Tue, Jan 25, 2022 at 11:56:23PM +0530, Shijith Thotton wrote:
> From: Srujana Challa <schalla@marvell.com>
> 
> 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.
> So, this patch adds code to set FLT_DIS as a workaround.
> 
> Signed-off-by: Srujana Challa <schalla@marvell.com>
> Signed-off-by: Shijith Thotton <sthotton@marvell.com>
> ---
>  drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 13 +++++++++++++
>  drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c |  1 +
>  2 files changed, 14 insertions(+)

Patch applied.  Thanks.
-- 
Email: Herbert Xu [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
