mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: sparclinux@vger.kernel.org
Cc: jgarzik@pobox.com, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2]: Niagara2 RNG driver.
Date: Fri, 16 May 2008 16:53:49 -0700 (PDT)	[thread overview]
Message-ID: <20080516.165349.255632578.davem@davemloft.net> (raw)


These next two patches implement the RNG driver for Niagara2.
They are also available on the master branch at:

git://git.kernel.org/pub/scm/linux/kernel/git/davem/n2rng-2.6.git

The driver transparently works on both control and guest nodes in
virtualized environments.

I've testedit on both single and dual socket Niagara2 systems, and
rngd seems to be happy with the output.  Below is a typical driver
load and rng stats message log.

Signed-off-by: David S. Miller <davem@davemloft.net>

--------------------
[1102905.419644] n2rng.c:v0.1 (May 15, 2008)
[1102905.419687] n2rng f027a3c8: Registered RNG HVAPI major 2 minor 0
[1102905.419707] n2rng f027a3c8: Found Victoria Falls RNG, units: 2
[1102905.423798] n2rng f027a3c8: Selftest passed on unit 0
[1102905.432773] n2rng f027a3c8: Selftest passed on unit 1
[1102905.432813] n2rng f027a3c8: RNG ready
--------------------
May 16 16:34:07 maramba rngd[4674]: stats: bits received from HRNG source: 500064
May 16 16:34:07 maramba rngd[4674]: stats: bits sent to kernel pool: 440512
May 16 16:34:07 maramba rngd[4674]: stats: entropy added to kernel pool: 440512
May 16 16:34:07 maramba rngd[4674]: stats: FIPS 140-2 successes: 25
May 16 16:34:07 maramba rngd[4674]: stats: FIPS 140-2 failures: 0
May 16 16:34:07 maramba rngd[4674]: stats: FIPS 140-2(2001-10-10) Monobit: 0
May 16 16:34:07 maramba rngd[4674]: stats: FIPS 140-2(2001-10-10) Poker: 0
May 16 16:34:07 maramba rngd[4674]: stats: FIPS 140-2(2001-10-10) Runs: 0
May 16 16:34:07 maramba rngd[4674]: stats: FIPS 140-2(2001-10-10) Long run: 0
May 16 16:34:07 maramba rngd[4674]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
May 16 16:34:07 maramba rngd[4674]: stats: HRNG source speed: (min=425.351; avg=560.278; max=3314.314)Kibits/s
May 16 16:34:07 maramba rngd[4674]: stats: FIPS tests speed: (min=699.644; avg=9559.709; max=20302.755)Kibits/s
May 16 16:34:07 maramba rngd[4674]: stats: Lowest ready-buffers level: 2
May 16 16:34:07 maramba rngd[4674]: stats: Entropy starvations: 0
May 16 16:34:07 maramba rngd[4674]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us

                 reply	other threads:[~2008-05-16 23:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080516.165349.255632578.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®