public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortelnetworks.com>
To: Andi Kleen <ak@suse.de>
Cc: "Friesen,
	Christopher [CAR:VS16:EXCH]" <cfriesen@americasm01.nt.com>,
	linux-kernel@vger.kernel.org
Subject: Re: why no call to add_interrupt_randomness() on PPC?
Date: Wed, 22 Aug 2001 11:37:30 -0400	[thread overview]
Message-ID: <3B83D1BA.1D8E507@nortelnetworks.com> (raw)
In-Reply-To: <3B83C430.7E5F59C3@nortelnetworks.com.suse.lists.linux.kernel> <oupitfgnmk6.fsf@pigdrop.muc.suse.de>

Andi Kleen wrote:

> Nobody except for a few really obscure drivers use SA_SAMPLE_RANDOM
> with their interrupt handlers (none on ppc as far as I can see) On
> i386 all the gathering is normally done via the keyboard/mouse drivers
> and the blk interface. The reason e.g. Macs normally do not gather
> entropy is that they're using the new input layer for keyboard and
> mouse which for some reason doesn't feed its events into the entropy
> pool. I believe Wojtech did a patch for it, but I don't know if it has
> been merged into the ppc tree yet.

The reason I'm looking at this is because I'm on a headless net-booting device. 
We properly save and restore the entropy pool on startup/shutdown, but without
using network interrupts we have no way to generate more entropy.  I was looking
at turning on SA_SAMPLE_RANDOM in our network driver, but then I realized that
it would have no effect because it isn't even supported on PPC.

So the upshot seems to be that there is no real reason why it isn't there, it
just hasn't been seen as required.  Am I right?

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com

  reply	other threads:[~2001-08-22 15:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3B83C430.7E5F59C3@nortelnetworks.com.suse.lists.linux.kernel>
2001-08-22 15:26 ` why no call to add_interrupt_randomness() on PPC? Andi Kleen
2001-08-22 15:37   ` Chris Friesen [this message]
2001-08-22 15:47     ` Alex Bligh - linux-kernel
2001-08-22 14:39 Chris Friesen

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=3B83D1BA.1D8E507@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=ak@suse.de \
    --cc=cfriesen@americasm01.nt.com \
    --cc=linux-kernel@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