lkml.org 
[lkml]   [2023]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/6] 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.

v2:
- set reasonable timeouts
- separate commit for the removal of interrupt handling
- readl_poll_timeout does not wait in the foreground

Martin Kaiser (6):
hwrng: imx-rngc - reasonable timeout for selftest
hwrng: imx-rngc - reasonable timeout for initial seed
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 for initial seed
hwrng: imx-rngc - remove interrupt handler

drivers/char/hw_random/imx-rngc.c | 100 ++++++------------------------
1 file changed, 18 insertions(+), 82 deletions(-)

--
2.39.2

\
 
 \ /
  Last update: 2023-08-24 21:25    [W:0.194 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site