[lkml]   [2005]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] RNG rewrite...
On Oct 17 2005, at 19:31, Jeff Garzik was caught saying:
> >PCI devices, but I don't know enough about x86 to say whether msr
> >instructions can execute out of userspace (or if we want them to...).
> All of the hot path RNG stuff can and should be moved to userspace.
> Right now the path is
> kernel /dev/hwrandom -> rngd -> add /dev/random entropy
> All three current vendors shown in hw_random.c are doable in userspace.
> Intel uses MMIO, AMD uses PIO, and VIA uses a specialized CPU
> instruction. As HPA mentioned, you can use the MSR driver for control.
> Patches welcome!

OK...I already did most of a rewrite keeping the driver in user space
and added support for IXP4xx and OMAP but will look at the msr driver.
However, looking at the MPC85xx and the Alchemy MIPs parts with RNGs,
they have interrupt sources for error conditions so those need to be
in kernel...


Deepak Saxena - -

When law and duty are one, united by religion, you never become fully
conscious, fully aware of yourself. You are always a little less than
an individual. - Frank Herbert
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-10-18 03:02    [W:0.055 / U:3.196 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site