[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220302211113.4003816-1-clabbe@baylibre.com>
Date: Wed, 2 Mar 2022 21:10:55 +0000
From: Corentin Labbe <clabbe@...libre.com>
To: heiko@...ech.de, herbert@...dor.apana.org.au, robh+dt@...nel.org
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org, john@...anate.com,
Corentin Labbe <clabbe@...libre.com>
Subject: [PATCH v2 00/18] crypto: rockchip: permit to pass self-tests
Hello
The rockchip crypto driver is broken and do not pass self-tests.
This serie's goal is to permit to become usable and pass self-tests.
This whole serie is tested on a rk3328-rock64 with selftests (with
CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y)
Regards
Changes since v1:
- select CRYPTO_ENGINE
- forgot to free fallbacks TFMs
- fixed kernel test robots warning
- add the PM patch
Corentin Labbe (18):
crypto: rockchip: use dev_err for error message about interrupt
crypto: rockchip: do not use uninit variable
crypto: rockchip: do not do custom power management
crypto: rockchip: fix privete/private typo
crypto: rockchip: do not store mode globally
crypto: rockchip: add fallback for cipher
crypto: rockchip: add fallback for ahash
crypto: rockchip: better handle cipher key
crypto: rockchip: remove non-aligned handling
crypto: rockchip: rework by using crypto_engine
crypto: rockhip: do not handle dma clock
ARM: dts: rk3288: crypto do not need dma clock
crypto: rockchip: rewrite type
crypto: rockchip: add debugfs
crypto: rockchip: introduce PM
arm64: dts: rockchip: add rk3328 crypto node
dt-bindings: crypto: convert rockchip-crypto to yaml
crypto: rockchip: add myself as maintainer
.../crypto/rockchip,rk3288-crypto.yaml | 64 +++
.../bindings/crypto/rockchip-crypto.txt | 28 --
MAINTAINERS | 6 +
arch/arm/boot/dts/rk3288.dtsi | 4 +-
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 11 +
drivers/crypto/Kconfig | 12 +
drivers/crypto/rockchip/rk3288_crypto.c | 307 +++++-------
drivers/crypto/rockchip/rk3288_crypto.h | 69 ++-
drivers/crypto/rockchip/rk3288_crypto_ahash.c | 222 +++++----
.../crypto/rockchip/rk3288_crypto_skcipher.c | 452 +++++++++++-------
10 files changed, 648 insertions(+), 527 deletions(-)
create mode 100644 Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml
delete mode 100644 Documentation/devicetree/bindings/crypto/rockchip-crypto.txt
--
2.34.1
Powered by blists - more mailing lists