Re: [PATCH, RFC 07/12] random: allow architectures to optionally define random_get_entropy()

2013-09-23 Thread Theodore Ts'o
On Mon, Sep 23, 2013 at 12:38:26PM +0200, Stephan Mueller wrote: > > Are there any plans to get such function implemented on large list of > architectures without a get_cycles function? For some architectures, yes. As John Stultz pointed out, on many of the older embedded platforms (which are m

Re: [PATCH, RFC 07/12] random: allow architectures to optionally define random_get_entropy()

2013-09-23 Thread Stephan Mueller
Am Sonntag, 22. September 2013, 16:38:53 schrieb Theodore Ts'o: Hi Theodore, >Allow architectures which have a disabled get_cycles() function to >provide a random_get_entropy() function which provides a fine-grained, >rapidly changing counter that can be used by the /dev/random driver. Are there

[PATCH, RFC 07/12] random: allow architectures to optionally define random_get_entropy()

2013-09-22 Thread Theodore Ts'o
Allow architectures which have a disabled get_cycles() function to provide a random_get_entropy() function which provides a fine-grained, rapidly changing counter that can be used by the /dev/random driver. For example, an architecture might have a rapidly changing register used to control random