lkml.org 
[lkml]   [2001]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: why no call to add_interrupt_randomness() on PPC?
From
Date
Chris Friesen <cfriesen@nortelnetworks.com> writes:

> With all the talk about randomness, I went to see where my current system
> (2.2.19 on PPC) was getting random numbers from. I was kind of surprised to see
> that there is no call to add_interrupt_randomness() in arch/ppc/kernel/irq.c.
>
> Does anyone know why this call is not present in ppc_irq_dispatch_handler()?
> Would it be appropriate for me to make a patch for this? Who would be the
> appropriate person to send this to?

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.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.027 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site