>On Wed, Dec 16, 2020 at 11:59:06AM +0100, Luca Dariz wrote:
>>
>> @@ -432,12 +433,15 @@ static int hwrng_fillfn(void *unused) {
>> long rc;
>>
>> + complete(&hwrng_started);
>> while (!kthread_should_stop()) {
>>
at kernel/kthread.c:75 and later causes a page domain fault.
CC: Matt Mackall
CC: Herbert Xu
CC: Colin Ian King
CC: Holger Brunck
CC: Valentin Longchamp
Signed-off-by: Luca Dariz
---
v2:
* reduced sleep from 10s to 10ms in case there is no rng; the termination
should be faster in this case a
at kernel/kthread.c:75 and later causes a page domain fault.
CC: Matt Mackall
CC: Herbert Xu
CC: Colin Ian King
CC: Holger Brunck
CC: Valentin Longchamp
Signed-off-by: Luca Dariz
---
drivers/char/hw_random/core.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git