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! http://sf.net/projects/gkernel/
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
--
Deepak Saxena - [email protected] - http://www.plexity.net
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]