Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Kussainov <kusainov.timur@gmail.com>
To: Herbert Xu <herbert@gondor.apana.org.au>,
	Corentin Labbe <clabbe@baylibre.com>
Cc: "David S . Miller" <davem@davemloft.net>,
	Heiko Stuebner <heiko@sntech.de>,
	linux-crypto@vger.kernel.org, linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Timur Kussainov <kusainov.timur@gmail.com>
Subject: [PATCH 0/2] crypto: rockchip - fix hash timeouts and debugfs leak
Date: Sat, 28 Nov 2026 15:47:43 -0500	[thread overview]
Message-ID: <20261128204745.1044083-1-kusainov.timur@gmail.com> (raw)

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



             reply	other threads:[~2026-11-28 20:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 20:47 Timur Kussainov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128204745.1044083-1-kusainov.timur@gmail.com \
    --to=kusainov.timur@gmail.com \
    --cc=clabbe@baylibre.com \
    --cc=davem@davemloft.net \
    --cc=heiko@sntech.de \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox