Skip to content

imx-rngc - several small fixes

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v16 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- remove the contentious devres patch
- add PrasannaKumar's tags

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hwrng: imx-rngc - fix an error pathdrivers/char/hw_random/imx-rngc.c+3 -10 replies
2/5hwrng: imx-rngc - use automatic seedingdrivers/char/hw_random/imx-rngc.c+14 -20 replies
3/5hwrng: imx-rngc - (trivial) simplify error printsdrivers/char/hw_random/imx-rngc.c+2 -20 replies
4/5hwrng: imx-rngc - check the rng typedrivers/char/hw_random/imx-rngc.c+27 -10 replies
5/5hwrng: imx-rngc - simplify interrupt mask/unmaskdrivers/char/hw_random/imx-rngc.c+28 -150 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchPrasannaKumar Muralidharan
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] imx-rngc - several small fixes

This is a set of small fixes for the imx-rngc driver.

I tried to clarify the approach for masking/unmasking the interrupt from the rngc.

The rngc should be set to auto-seed mode, where it creates a new seed when required.

In the probe function, we should check that the rng type is supported by this driver.

Thanks for reviewing the patches,

Martin

changes in v2:
- remove the contentious devres patch
- add PrasannaKumar's tags

Martin Kaiser (5):
hwrng: imx-rngc - fix an error path
hwrng: imx-rngc - use automatic seeding
hwrng: imx-rngc - (trivial) simplify error prints
hwrng: imx-rngc - check the rng type
hwrng: imx-rngc - simplify interrupt mask/unmask

 drivers/char/hw_random/imx-rngc.c | 85 +++++++++++++++++++++++++------
 1 file changed, 69 insertions(+), 16 deletions(-)
Signature · 1 line
2.20.1