linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] New hardware RNG for Octeon SOCs.
@ 2009-08-10 18:21 David Daney
  2009-08-10 18:30 ` [PATCH 1/2] MIPS: Octeon: Add hardware RNG platform device David Daney
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: David Daney @ 2009-08-10 18:21 UTC (permalink / raw)
  To: Ralf Baechle, akpm, Linus Torvalds; +Cc: linux-mips, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/2] New hardware RNG for Octeon SOCs (v2)
@ 2009-08-20 21:07 David Daney
  2009-08-20 21:10 ` [PATCH 1/2] MIPS: Octeon: Add hardware RNG platform device David Daney
  0 siblings, 1 reply; 14+ messages in thread
From: David Daney @ 2009-08-20 21:07 UTC (permalink / raw)
  To: ralf, mpm, herbert; +Cc: linux-mips, akpm, linux-kernel

Based on feedback from AKPM, I have a new revision of the Octeon
hardware RNG driver.

The changes from v1 are minor, just eliminating some bogus casting by
accessing the driver state by embedding struct hwrng in the driver
data, which is now accessed with the container_of() trick.

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

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

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

  arch/mips/cavium-octeon/setup.c              |   43 ++++++++
  arch/mips/include/asm/octeon/cvmx-rnm-defs.h |   88 +++++++++++++++
  drivers/char/hw_random/Kconfig               |   13 +++
  drivers/char/hw_random/Makefile              |    1 +
  drivers/char/hw_random/octeon-rng.c          |  147 
++++++++++++++++++++++++++
  5 files changed, 292 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-08-27 14:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 18:21 [PATCH 0/2] New hardware RNG for Octeon SOCs David Daney
2009-08-10 18:30 ` [PATCH 1/2] MIPS: Octeon: Add hardware RNG platform device David Daney
2009-08-10 22:35   ` Andrew Morton
2009-08-10 22:35     ` Andrew Morton
2009-08-10 18:30 ` [PATCH 2/2] hw_random: Add hardware RNG for Octeon SOCs David Daney
2009-08-10 22:35   ` Andrew Morton
2009-08-10 22:35     ` Andrew Morton
2009-08-10 19:54 ` [PATCH 0/2] New " Matt Mackall
2009-08-10 19:57   ` David Daney
2009-08-10 20:18   ` [PATCH] MAINTAINERS: Add Matt Mackall and Herbert Xu to HARDWARE RANDOM NUMBER GENERATOR Joe Perches
2009-08-10 22:34 ` [PATCH 0/2] New hardware RNG for Octeon SOCs Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2009-08-20 21:07 [PATCH 0/2] New hardware RNG for Octeon SOCs (v2) David Daney
2009-08-20 21:10 ` [PATCH 1/2] MIPS: Octeon: Add hardware RNG platform device David Daney
2009-08-24  7:47   ` Herbert Xu
2009-08-27 14:55     ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).