Skip to content

hwrng: imx-rngc - use polling instead of interrupt

Martin Kaiser linux-arm-kernel linux-crypto lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6hwrng: imx-rngc - reasonable timeout for selftestdrivers/char/hw_random/imx-rngc.c+3 -10 replies
2/6hwrng: imx-rngc - reasonable timeout for initial seeddrivers/char/hw_random/imx-rngc.c+4 -40 replies
3/6hwrng: imx-rngc - use polling to detect end of self testdrivers/char/hw_random/imx-rngc.c+7 -92 replies
4/6hwrng: imx-rngc - read status register for error checksdrivers/char/hw_random/imx-rngc.c+1 -10 replies
5/6hwrng: imx-rngc - use polling for initial seeddrivers/char/hw_random/imx-rngc.c+9 -180 replies
6/6hwrng: imx-rngc - remove interrupt handlerdrivers/char/hw_random/imx-rngc.c+0 -550 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [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(-)
Signature · 7 lines
2.39.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel