All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] crypto: add gemini/sl3516 crypto driver
@ 2021-06-01 15:11 ` Corentin Labbe
  0 siblings, 0 replies; 14+ messages in thread
From: Corentin Labbe @ 2021-06-01 15:11 UTC (permalink / raw)
  To: davem, herbert, linus.walleij, linux, robh+dt, ulli.kroll
  Cc: devicetree, linux-arm-kernel, linux-crypto, linux-kernel, Corentin Labbe

The gemini SL3516 SoC has a crypto IP.
This serie had support for it.

It was tested with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y.
Furthermore, it survives hours and gigs of write/read to a luks2 using xts(ecb-aes-sl3516).

Performance is quite good.
On a luks2 partition (2To with bs=4096), a fsck comes from 14m26(without CE) to 8m48(with CE).
So it is really usefull.

With bs=512, the performance is similar with software.

Changes since v1:
- reworded dt-binding subject patch
- fixed build with CRYPTO_DEV_SL3516_DEBUG

Corentin Labbe (5):
  dt-bindings: crypto: Add documentation for sl3516-ce
  crypto: Add sl3516 crypto engine
  ARM: dts: gemini: add crypto node
  ARM: gemini_config: enable sl3516-ce crypto
  MAINTAINERS: add gemini crypto sl3516-ce

 .../crypto/cortina,sl3516-crypto.yaml         |  50 ++
 MAINTAINERS                                   |   7 +
 arch/arm/boot/dts/gemini.dtsi                 |   8 +
 arch/arm/configs/gemini_defconfig             |   1 +
 drivers/crypto/Kconfig                        |  19 +
 drivers/crypto/Makefile                       |   1 +
 drivers/crypto/gemini/Makefile                |   2 +
 drivers/crypto/gemini/sl3516-ce-cipher.c      | 388 +++++++++++++
 drivers/crypto/gemini/sl3516-ce-core.c        | 535 ++++++++++++++++++
 drivers/crypto/gemini/sl3516-ce-rng.c         |  61 ++
 drivers/crypto/gemini/sl3516-ce.h             | 347 ++++++++++++
 11 files changed, 1419 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/crypto/cortina,sl3516-crypto.yaml
 create mode 100644 drivers/crypto/gemini/Makefile
 create mode 100644 drivers/crypto/gemini/sl3516-ce-cipher.c
 create mode 100644 drivers/crypto/gemini/sl3516-ce-core.c
 create mode 100644 drivers/crypto/gemini/sl3516-ce-rng.c
 create mode 100644 drivers/crypto/gemini/sl3516-ce.h

-- 
2.31.1


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

end of thread, other threads:[~2021-06-11  7:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 15:11 [PATCH v2 0/5] crypto: add gemini/sl3516 crypto driver Corentin Labbe
2021-06-01 15:11 ` Corentin Labbe
2021-06-01 15:11 ` [PATCH v2 1/5] dt-bindings: crypto: Add documentation for sl3516-ce Corentin Labbe
2021-06-01 15:11   ` Corentin Labbe
2021-06-01 15:11 ` [PATCH v2 2/5] crypto: Add sl3516 crypto engine Corentin Labbe
2021-06-01 15:11   ` Corentin Labbe
2021-06-01 15:11 ` [PATCH v2 3/5] ARM: dts: gemini: add crypto node Corentin Labbe
2021-06-01 15:11   ` Corentin Labbe
2021-06-01 15:11 ` [PATCH v2 4/5] ARM: gemini_config: enable sl3516-ce crypto Corentin Labbe
2021-06-01 15:11   ` Corentin Labbe
2021-06-01 15:11 ` [PATCH v2 5/5] MAINTAINERS: add gemini crypto sl3516-ce Corentin Labbe
2021-06-01 15:11   ` Corentin Labbe
2021-06-11  7:17 ` [PATCH v2 0/5] crypto: add gemini/sl3516 crypto driver Herbert Xu
2021-06-11  7:17   ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.