Skip to content

New hardware RNG for Octeon SOCs.

David Daney linux-mips lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MIPS: Octeon: Add hardware RNG platform device.arch/mips/cavium-octeon/setup.c arch/mips/include/asm/octeon/cvmx-rnm-defs.h+130 -01 reply
2/2hw_random: Add hardware RNG for Octeon SOCs.drivers/char/hw_random/Kconfig drivers/char/hw_random/Makefile drivers/char/hw_random/octeon-rng.c+160 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] New hardware RNG for Octeon SOCs.

Behold the Random Number Generator driver for Octeon!

The first patch adds some port definitions and the octeon_rng platform device. The second is the driver.

I am copying AKPM and Linus as there seems to be no hw_random maintainer.

Since Octeon is a mips port, we might want to merge both patches via Ralf's tree.

Comments?

David Daney (2):
MIPS: Octeon: Add hardware RNG platform device.
hw_random: Add hardware RNG for Octeon SOCs.

 arch/mips/cavium-octeon/setup.c              |   44 ++++++++
 arch/mips/include/asm/octeon/cvmx-rnm-defs.h |   86 +++++++++++++++
 drivers/char/hw_random/Kconfig               |   13 +++
 drivers/char/hw_random/Makefile              |    1 +
 drivers/char/hw_random/octeon-rng.c          |  146 
++++++++++++++++++++++++++
 5 files changed, 290 insertions(+), 0 deletions(-)
 create mode 100644 arch/mips/include/asm/octeon/cvmx-rnm-defs.h
 create mode 100644 drivers/char/hw_random/octeon-rng.c