Skip to content

Enable crypto module on Amlogic GXBB SoC platform

Anand Moon linux-amlogic linux-arm-kernel linux-crypto linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: dts: amlogic: adds crypto hardware node for GXBB SoCsarch/arm64/boot/dts/amlogic/meson-gxbb.dtsi+10 -01 reply
2/3dt-bindings: crypto: Add compatible string for amlogic GXBB SoCDocumentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml+1 -00 replies
3/3crypto: amlogic: Add new compatible string for amlogic GXBB SoCdrivers/crypto/amlogic/amlogic-gxl-core.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(+)
Signature · 1 line
2.24.0