Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: rockchip - fix hash timeouts and debugfs leak
@ 2026-11-28 20:47 Timur Kussainov
  2026-11-28 20:47 ` [PATCH 1/2] crypto: rockchip - fix inverted hash completion poll Timur Kussainov
  2026-11-28 20:47 ` [PATCH 2/2] crypto: rockchip - fix debugfs leak when stats are disabled Timur Kussainov
  0 siblings, 2 replies; 3+ messages in thread
From: Timur Kussainov @ 2026-11-28 20:47 UTC (permalink / raw)
  To: Herbert Xu, Corentin Labbe
  Cc: David S . Miller, Heiko Stuebner, linux-crypto, linux-rockchip,
	linux-arm-kernel, linux-kernel, Timur Kussainov

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



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

end of thread, other threads:[~2026-11-28 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 20:47 [PATCH 0/2] crypto: rockchip - fix hash timeouts and debugfs leak Timur Kussainov
2026-11-28 20:47 ` [PATCH 1/2] crypto: rockchip - fix inverted hash completion poll Timur Kussainov
2026-11-28 20:47 ` [PATCH 2/2] crypto: rockchip - fix debugfs leak when stats are disabled Timur Kussainov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox