lkml.org 
[lkml]   [2023]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] hwrng: imx-rngc - use polling instead of interrupt
Date
Use polling and wait actively for the self test and the initial seeding
of the rngc to complete. This is much simpler than using an interrupt
and a completion. Also, there's nothing we can do in parallel while self
test or initial seeding are running.

Martin Kaiser (3):
hwrng: imx-rngc - use polling to detect end of self test
hwrng: imx-rngc - read status register for error checks
hwrng: imx-rngc - use polling to wait for end of seeding

drivers/char/hw_random/imx-rngc.c | 96 ++++++-------------------------
1 file changed, 16 insertions(+), 80 deletions(-)

--
2.39.2

\
 
 \ /
  Last update: 2023-08-22 17:29    [W:0.068 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site