search for: 8f7370d

Displaying 3 results from an estimated 3 matches for "8f7370d".

Did you mean: 5f3370d
2014 Jul 14
0
[RFC PATCH 1/3] hw_random: allow RNG devices to give early randomness after a delay
...(struct hwrng *rng) mutex_lock(&rng_mutex); list_del(&rng->list); + cancel_delayed_work_sync(&rng->dwork); if (current_rng == rng) { hwrng_cleanup(rng); if (list_empty(&rng_list)) { diff --git a/include/linux/hw_random.h b/include/linux/hw_random.h index b4b0eef..8f7370d 100644 --- a/include/linux/hw_random.h +++ b/include/linux/hw_random.h @@ -14,6 +14,11 @@ #include <linux/types.h> #include <linux/list.h> +#include <linux/workqueue.h> + +#define HWRNG_DELAY_READ_AT_INIT BIT(0) /* Schedule delayed work to fetch + * initial randomness ins...
2014 Jul 14
4
[RFC PATCH 0/3] hw_random: support for delayed init randomness requests
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
2014 Jul 14
4
[RFC PATCH 0/3] hw_random: support for delayed init randomness requests
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