crypto: inside-secure - optimize DSE bufferability control
Configure the data write bufferability to always buffer packets in the DSE. This change slightly improves performance. Signed-off-by: Igal Liberman <igall@marvell.com> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
c87925bfd2
commit
ee1fd870ee
@@ -329,6 +329,7 @@ static int safexcel_hw_init(struct safexcel_crypto_priv *priv)
|
||||
val = EIP197_HIA_DSE_CFG_DIS_DEBUG;
|
||||
val |= EIP197_HIA_DxE_CFG_MIN_DATA_SIZE(7) | EIP197_HIA_DxE_CFG_MAX_DATA_SIZE(8);
|
||||
val |= EIP197_HIA_DxE_CFG_DATA_CACHE_CTRL(WR_CACHE_3BITS);
|
||||
val |= EIP197_HIA_DSE_CFG_ALLWAYS_BUFFERABLE;
|
||||
val |= EIP197_HIA_DSE_CFG_EN_SINGLE_WR;
|
||||
writel(val, priv->base + EIP197_HIA_DSE_CFG);
|
||||
|
||||
|
Reference in New Issue
Block a user