devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv1 0/3] Enable crypto module on Amlogic GXBB SoC platform
@ 2019-12-11  8:41 Anand Moon
  2019-12-11  8:41 ` [PATCHv1 1/3] arm64: dts: amlogic: adds crypto hardware node for GXBB SoCs Anand Moon
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Anand Moon @ 2019-12-11  8:41 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Corentin Labbe, Kevin Hilman,
	Martin Blumenstingl, Neil Armstrong, Herbert Xu,
	David S . Miller
  Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, linux-crypto

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-12-12  6:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-11  8:41 [PATCHv1 0/3] Enable crypto module on Amlogic GXBB SoC platform Anand Moon
2019-12-11  8:41 ` [PATCHv1 1/3] arm64: dts: amlogic: adds crypto hardware node for GXBB SoCs Anand Moon
2019-12-11 10:41   ` Anand Moon
2019-12-11  8:41 ` [PATCHv1 2/3] dt-bindings: crypto: Add compatible string for amlogic GXBB SoC Anand Moon
2019-12-11  8:41 ` [PATCHv1 3/3] crypto: amlogic: Add new " Anand Moon
2019-12-11  8:53 ` [PATCHv1 0/3] Enable crypto module on Amlogic GXBB SoC platform Neil Armstrong
2019-12-11  9:27   ` Herbert Xu
2019-12-11  9:32     ` Neil Armstrong
2019-12-11 10:05     ` Anand Moon
2019-12-11  9:37   ` Anand Moon
2019-12-11  9:50     ` Herbert Xu
2019-12-11 10:33       ` Anand Moon
2019-12-11 12:15       ` Anand Moon
2019-12-11 12:24         ` Ard Biesheuvel
     [not found]           ` <1229236701.11947072.1576070229564@mail.yahoo.com>
2019-12-11 23:30             ` Martin Blumenstingl
2019-12-12  6:23               ` Anand Moon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).