crypto: Use arm64 crypto for android net cts tests
authorMatthew Shyu <matthew.shyu@amlogic.com>
Fri, 29 Jun 2018 10:21:06 +0000 (18:21 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 5 Jul 2018 13:42:46 +0000 (06:42 -0700)
commitfdb21d361348bd786cb6611201c0dd5fadb339c6
tree0bead809a159737ff275bfac1ab6c7b897ca6452
parent2de19904f8282c05fadec1179f63793e273850d6
crypto: Use arm64 crypto for android net cts tests

PD#169014:

1. fix race condition in Aml HW crypto driver
A flag is added in irq handler for distinguishing
the source of interrupt since all crypto modules
share the same dma thread

2. Enable arm64 crypto
Arm64 crypto is synchronous and thus is able to
pass net cts tests for UDP

Change-Id: I2fe4f44a0b386e1e5d234d0ba07d17ffdc3224a7
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
arch/arm64/configs/meson64_defconfig
drivers/amlogic/crypto/aml-aes-dma.c
drivers/amlogic/crypto/aml-crypto-dma.h
drivers/amlogic/crypto/aml-dma.c
drivers/amlogic/crypto/aml-sha-dma.c
drivers/amlogic/crypto/aml-tdes-dma.c