[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191211084112.971-1-linux.amoon@gmail.com>
Date: Wed, 11 Dec 2019 08:41:09 +0000
From: Anand Moon <linux.amoon@...il.com>
To: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Corentin Labbe <clabbe@...libre.com>,
Kevin Hilman <khilman@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Neil Armstrong <narmstrong@...libre.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org
Subject: [PATCHv1 0/3] Enable crypto module on Amlogic GXBB SoC platform
Below changes enable cryto module on Amlogic GXBB SoC.
I was realy happy to get this feature working on Odroid C2 SBC.
I will try on other SBC in the future.
Tested with loading tcrypt module.
# sudo modprobe tcrypt sec=1 mode=200
[sudo] password for alarm:
[ 903.867059] tcrypt:
[ 903.867059] testing speed of async ecb(aes) (ecb(aes-arm64)) encryption
[ 903.870265] tcrypt: test 0 (128 bit key, 16 byte blocks): 1922107 operations in 1 seconds (30753712 bytes)
[ 904.872802] tcrypt: test 1 (128 bit key, 64 byte blocks): 679032 operations in 1 seconds (43458048 bytes)
[ 905.872717] tcrypt: test 2 (128 bit key, 256 byte blocks): 190190 operations in 1 seconds (48688640 bytes)
[ 906.872793] tcrypt: test 3 (128 bit key, 1024 byte blocks): 49014 operations in 1 seconds (50190336 bytes)
[ 907.872808] tcrypt: test 4 (128 bit key, 1472 byte blocks): 34342 operations in 1 seconds (50551424 bytes)
[ 908.876828] tcrypt: test 5 (128 bit key, 8192 byte blocks): 6199 operations in 1 seconds (50782208 bytes)
-Anand
Anand Moon (3):
arm64: dts: amlogic: adds crypto hardware node for GXBB SoCs
dt-bindings: crypto: Add compatible string for amlogic GXBB SoC
crypto: amlogic: Add new compatible string for amlogic GXBB SoC
.../devicetree/bindings/crypto/amlogic,gxl-crypto.yaml | 1 +
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 10 ++++++++++
drivers/crypto/amlogic/amlogic-gxl-core.c | 1 +
3 files changed, 12 insertions(+)
--
2.24.0
Powered by blists - more mailing lists