[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230824192059.1569591-1-martin@kaiser.cx>
Date: Thu, 24 Aug 2023 21:20:53 +0200
From: Martin Kaiser <martin@...ser.cx>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Alexander Stein <alexander.stein@...tq-group.com>,
linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Martin Kaiser <martin@...ser.cx>
Subject: [PATCH v2 0/6] hwrng: imx-rngc - use polling instead of interrupt
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
Powered by blists - more mailing lists