mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] hwrng: histb: fix the FIFO batch timeout
@ 2026-11-03  4:13 David Yang
  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
  0 siblings, 2 replies; 3+ messages in thread
From: David Yang @ 2026-11-03  4:13 UTC (permalink / raw)
  To: linux-crypto
  Cc: David Yang, Olivia Mackall, Herbert Xu, Takashi Sakamoto,
	Danilo Krummrich, Uwe Kleine-König (The Capable Hub),
	Bjorn Helgaas, linux-kernel

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


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

end of thread, other threads:[~2026-11-03  4:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03  4:13 [PATCH 0/2] hwrng: histb: fix the FIFO batch timeout David Yang
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

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®