From: David Yang <mmyangfl@gmail.com>
To: linux-crypto@vger.kernel.org
Cc: "David Yang" <mmyangfl@gmail.com>,
"Olivia Mackall" <olivia@selenic.com>,
"Herbert Xu" <herbert@gondor.apana.org.au>,
"Takashi Sakamoto" <o-takashi@sakamocchi.jp>,
"Danilo Krummrich" <dakr@kernel.org>,
"Uwe Kleine-König (The Capable Hub)"
<u.kleine-koenig@baylibre.com>,
"Bjorn Helgaas" <bhelgaas@google.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] hwrng: histb: fix the FIFO batch timeout
Date: Tue, 3 Nov 2026 12:13:58 +0800 [thread overview]
Message-ID: <20261103041403.4071708-1-mmyangfl@gmail.com> (raw)
The poll timeout in histb_rng_wait() was derived for a single word, while
the device feeds the FIFO in batches. Fix the timeout, and print with
dev_*() so that the messages name the device.
David Yang (2):
hwrng: histb: wait for a batch of words
hwrng: histb: use device messages
drivers/char/hw_random/histb-rng.c | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
--
2.53.0
next reply other threads:[~2026-11-03 4:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 4:13 David Yang [this message]
2026-11-03 4:13 ` [PATCH 1/2] hwrng: histb: wait for a batch of words David Yang
2026-11-03 4:14 ` [PATCH 2/2] hwrng: histb: use device messages David Yang
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=20261103041403.4071708-1-mmyangfl@gmail.com \
--to=mmyangfl@gmail.com \
--cc=bhelgaas@google.com \
--cc=dakr@kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=o-takashi@sakamocchi.jp \
--cc=olivia@selenic.com \
--cc=u.kleine-koenig@baylibre.com \
/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
all inboxes | Powered by JetHome®