CFP: 7th IEEE Workshop on Many-Task Computing on Clouds, Grids, and Supercomputers (MTAGS) 2014 @ IEEE/ACM SC14

2014-07-10 Thread Ioan Raicu
Call for Papers --- The 7th Workshop on Many-Task Computing on Clouds, Grids, and Supercomputers (MTAGS) 2014 http://datasys.cs.iit.edu/events/MTAGS14/

Re: [PATCH v3 1/2] hwrng: fetch randomness only after device init

2014-07-10 Thread Jason Cooper
On Thu, Jul 10, 2014 at 03:42:34PM +0530, Amit Shah wrote: > Commit d9e7972619334 "hwrng: add randomness to system from rng sources" > added a call to rng_get_data() from the hwrng_register() function. > However, some rng devices need initialization before data can be read > from them. > > This co

[PATCH v3 2/2] virtio: rng: ensure reads happen after successful probe

2014-07-10 Thread Amit Shah
The hwrng core asks for random data in the hwrng_register() call itself from commit d9e7972619. This doesn't play well with virtio -- the DRIVER_OK bit is only set by virtio core on a successful probe, and we're not yet out of our probe routine when this call is made. This causes the host to not

[PATCH v3 1/2] hwrng: fetch randomness only after device init

2014-07-10 Thread Amit Shah
Commit d9e7972619334 "hwrng: add randomness to system from rng sources" added a call to rng_get_data() from the hwrng_register() function. However, some rng devices need initialization before data can be read from them. This commit makes the call to rng_get_data() depend on no init fn pointer bein

[PATCH v3 0/2] hwrng, virtio-rng: init-time fixes

2014-07-10 Thread Amit Shah
v3: - Kees Cook pointed out a weird side-effect: devices which have ->init() registered get their randomness added to the system each time they're switched in, but devices that don't have the init callback don't contribute to system randomness more than once. The weirdness is resolved

Re: [PATCH v2 2/2] virtio: rng: ensure reads happen after successful probe

2014-07-10 Thread Amit Shah
On (Thu) 10 Jul 2014 [16:45:14], Herbert Xu wrote: > On Wed, Jul 09, 2014 at 12:18:36PM -0400, Jason Cooper wrote: > > On Sat, Jul 05, 2014 at 11:04:53AM +0530, Amit Shah wrote: > > > The hwrng core asks for random data in the hwrng_register() call itself > > > from commit d9e7972619. This doesn't

Re: [PATCH v2 2/2] virtio: rng: ensure reads happen after successful probe

2014-07-10 Thread Herbert Xu
On Wed, Jul 09, 2014 at 12:18:36PM -0400, Jason Cooper wrote: > On Sat, Jul 05, 2014 at 11:04:53AM +0530, Amit Shah wrote: > > The hwrng core asks for random data in the hwrng_register() call itself > > from commit d9e7972619. This doesn't play well with virtio -- the > > DRIVER_OK bit is only set

Re: [PATCH v2 2/2] virtio: rng: ensure reads happen after successful probe

2014-07-10 Thread Amit Shah
On (Wed) 09 Jul 2014 [12:18:36], Jason Cooper wrote: > On Sat, Jul 05, 2014 at 11:04:53AM +0530, Amit Shah wrote: > > The hwrng core asks for random data in the hwrng_register() call itself > > from commit d9e7972619. This doesn't play well with virtio -- the > > DRIVER_OK bit is only set by virti