devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Add Aspeed ACRY driver for hardware acceleration
@ 2023-01-04  1:34 Neal Liu
  2023-01-04  1:34 ` [PATCH v5 1/4] crypto: aspeed: Add ACRY RSA driver Neal Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Neal Liu @ 2023-01-04  1:34 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Joel Stanley, Andrew Jeffery,
	Neal Liu, Herbert Xu, David S . Miller, Chia-Wei Wang
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	linux-crypto

Aspeed ACRY engine is designed to accelerate the throughput of
ECDSA/RSA signature and verification.

These patches aim to add Aspeed ACRY RSA driver support.
This driver also pass the run-time self tests that take place at
algorithm registration on both big-endian/little-endian system
in AST2600 evaluation board .

Tested-by below configs:
- CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
- CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y
- CONFIG_DMA_API_DEBUG=y
- CONFIG_DMA_API_DEBUG_SG=y
- CONFIG_CPU_BIG_ENDIAN=y

Change since v4:
- Remove GFP_DMA flag since it's unnecessary.

Change since v3:
- Revise aspeed,ast2600-ahbc.yaml dt-bindings description.

Change since v2:
- Fix format and uninitialized warning.
- Revise binding description.

Change since v1:
- Fix dt-bindings description.
- Refine the Makefile which has been addressed.

Neal Liu (4):
  crypto: aspeed: Add ACRY RSA driver
  ARM: dts: aspeed: Add ACRY/AHBC device controller node
  dt-bindings: crypto: add documentation for Aspeed ACRY
  dt-bindings: bus: add documentation for Aspeed AHBC

 .../bindings/bus/aspeed,ast2600-ahbc.yaml     |  37 +
 .../bindings/crypto/aspeed,ast2600-acry.yaml  |  49 ++
 MAINTAINERS                                   |   2 +-
 arch/arm/boot/dts/aspeed-g6.dtsi              |  13 +
 drivers/crypto/aspeed/Kconfig                 |  11 +
 drivers/crypto/aspeed/Makefile                |   2 +
 drivers/crypto/aspeed/aspeed-acry.c           | 828 ++++++++++++++++++
 7 files changed, 941 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml
 create mode 100644 Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml
 create mode 100644 drivers/crypto/aspeed/aspeed-acry.c

-- 
2.25.1


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

end of thread, other threads:[~2023-02-23  1:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04  1:34 [PATCH v5 0/4] Add Aspeed ACRY driver for hardware acceleration Neal Liu
2023-01-04  1:34 ` [PATCH v5 1/4] crypto: aspeed: Add ACRY RSA driver Neal Liu
2023-02-22 14:41   ` Geert Uytterhoeven
2023-02-23  1:56     ` Neal Liu
2023-01-04  1:34 ` [PATCH v5 2/4] ARM: dts: aspeed: Add ACRY/AHBC device controller node Neal Liu
2023-01-04  1:34 ` [PATCH v5 3/4] dt-bindings: crypto: add documentation for Aspeed ACRY Neal Liu
2023-01-04  1:34 ` [PATCH v5 4/4] dt-bindings: bus: add documentation for Aspeed AHBC Neal Liu
2023-01-13  4:13 ` [PATCH v5 0/4] Add Aspeed ACRY driver for hardware acceleration Herbert Xu

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).