virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] hw_random: support for delayed init randomness requests
@ 2014-07-14  4:35 Amit Shah
  2014-07-14  4:35 ` [RFC PATCH 1/3] hw_random: allow RNG devices to give early randomness after a delay Amit Shah
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Amit Shah @ 2014-07-14  4:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: jason, keescook, Virtualization List, Amit Shah, herbert

Hello,

This series introduces a way to allow devices to contribute to initial
system randomness after a certain delay.  Specifically, the virtio-rng
device can contribute initial randomness only after a successful
probe().

A delayed workqueue item is queued in the system queue to fetch this
randomness if the device indicates it's capable of contributing only
after a delay, via the new HWRNG_DELAY_READ_AT_INIT flag.

This series is intended for the next merge window.  I've marked it as
RFC because the last revert doesn't yet have a linux.git sha1.  I'll
re-post when the previous series gets committed.

Please review,

Amit Shah (3):
  hw_random: allow RNG devices to give early randomness after a delay
  virtio: rng: only accept delayed early randomness requests
  Revert "virtio: rng: ensure reads happen after successful probe"

 drivers/char/hw_random/core.c       | 26 +++++++++++++++++++-------
 drivers/char/hw_random/virtio-rng.c | 11 +----------
 include/linux/hw_random.h           |  8 ++++++++
 3 files changed, 28 insertions(+), 17 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-07-18  9:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14  4:35 [RFC PATCH 0/3] hw_random: support for delayed init randomness requests Amit Shah
2014-07-14  4:35 ` [RFC PATCH 1/3] hw_random: allow RNG devices to give early randomness after a delay Amit Shah
2014-07-14 12:37   ` Jason Cooper
2014-07-14 12:42     ` Amit Shah
2014-07-18  8:56       ` Amit Shah
2014-07-18  9:14         ` Herbert Xu
2014-07-18  9:27           ` Amit Shah
2014-07-14  4:35 ` [RFC PATCH 2/3] virtio: rng: only accept delayed early randomness requests Amit Shah
2014-07-14  4:35 ` [RFC PATCH 3/3] Revert "virtio: rng: ensure reads happen after successful probe" Amit Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).