[PATCH 0/2] crypto: rockchip - fix hash timeouts and debugfs leak

From: Timur Kussainov

Date: Sat Nov 28 2026 - 15:48:28 EST


On RK3288 (tested on an ASUS Tinker Board) all hardware hashes of the
rockchip crypto driver currently fail with "HASH idle timeout" and the
rk-md5/rk-sha1/rk-sha256 self-tests fail. Patch 1 fixes the inverted
completion poll that causes this.

Patch 2 fixes a debugfs directory leak with
CONFIG_CRYPTO_DEV_ROCKCHIP_DEBUG=n, which leads to an oops when the
stale stats file is read after the module is removed (found while
testing patch 1 by reloading the module).

Timur Kussainov (2):
crypto: rockchip - fix inverted hash completion poll
crypto: rockchip - fix debugfs leak when stats are disabled

drivers/crypto/rockchip/rk3288_crypto.c | 19 +++++++------------
drivers/crypto/rockchip/rk3288_crypto_ahash.c | 2 +-
2 files changed, 8 insertions(+), 13 deletions(-)

--
2.47.3