crypto: Enable ARMCE and set aes dma to slow mode [1/1]
authorMatthew Shyu <matthew.shyu@amlogic.com>
Tue, 30 Oct 2018 06:48:07 +0000 (14:48 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 1 Nov 2018 08:33:24 +0000 (01:33 -0700)
commit259da07f3e0aeea0917c7d1d3aadc5413b3eac21
tree6a3267ed897a60dc05aa09ef634f58b586bfc7e3
parent69b191f3eaf0de75778adf9b1ecab73c37773443
crypto: Enable ARMCE and set aes dma to slow mode [1/1]

PD#SWPL-574

Problem:
xfrm test failed randomly in VtsKernelNetTest
due to random failed in gcm(aes)

Solution:
Use ARMCE for small sized crypto processing and use
copy mode when HW dma is used

Verify:
verified on ampere

Change-Id: I31cd75cfcd85da9fc9e9640135c7ce76623ef715
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
arch/arm/configs/meson64_a32_defconfig
drivers/amlogic/crypto/aml-aes-dma.c