Messages in this thread | | | Date | Wed, 9 Apr 2014 13:14:28 -0500 | From | rkuo <> | Subject | Re: [PATCH 01/11] random: don't feed stack data into pool when interrupt regs NULL |
| |
On Mon, Apr 07, 2014 at 09:30:57PM +0200, Sebastian Andrzej Siewior wrote: > Yes. Usually there is generic function doing something sane but not as > good as it could do with arch specific code. Or the code is completly > disabled unless the architecture wires it up. Dropping a new function and > hoping everyone will wire it up in no time is, ehm, brave. Nobody implemented > random_get_entropy(), everyone falls back to get_cycles. From a quick > grep I can see that atleast Hexagon, Cris, Frv, m32r and m68k return 0. I > put some of the maintainers Cc, I am curious if they know about the side > effects.
Thanks for the CC; I was not aware of the side effects. Hexagon does have a pcycles mechanism, so I will hook that up in our arch.
--
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation
| |