Re: [BUG, PATCH] random: sleep in irq context

2018-04-24 Thread Theodore Y. Ts'o
On Tue, Apr 24, 2018 at 10:40:36AM +0200, Sebastian Ott wrote: > On Mon, 23 Apr 2018, Sebastian Ott wrote: > > This happend once during boot and I could not reproduce this since, but I > > think the following patch should fix the issue: > > I can now recreate the issue reliably. The following

Re: [BUG, PATCH] random: sleep in irq context

2018-04-24 Thread Theodore Y. Ts'o
On Tue, Apr 24, 2018 at 10:40:36AM +0200, Sebastian Ott wrote: > On Mon, 23 Apr 2018, Sebastian Ott wrote: > > This happend once during boot and I could not reproduce this since, but I > > think the following patch should fix the issue: > > I can now recreate the issue reliably. The following

Re: [BUG, PATCH] random: sleep in irq context

2018-04-24 Thread Sebastian Ott
On Mon, 23 Apr 2018, Sebastian Ott wrote: > This happend once during boot and I could not reproduce this since, but I > think the following patch should fix the issue: I can now recreate the issue reliably. The following patch works for me: -->8 >From 6bbfab86beae8fe8b6efeffd08c9ad43d1c2ba68

Re: [BUG, PATCH] random: sleep in irq context

2018-04-24 Thread Sebastian Ott
On Mon, 23 Apr 2018, Sebastian Ott wrote: > This happend once during boot and I could not reproduce this since, but I > think the following patch should fix the issue: I can now recreate the issue reliably. The following patch works for me: -->8 >From 6bbfab86beae8fe8b6efeffd08c9ad43d1c2ba68

Re: [BUG, PATCH] random: sleep in irq context

2018-04-23 Thread Sebastian Ott
On Mon, 23 Apr 2018, Sebastian Ott wrote: > From 9d29e0c92efaf94277bc178782523283958ae8c8 Mon Sep 17 00:00:00 2001 > From: Sebastian Ott > Date: Mon, 23 Apr 2018 14:59:20 +0200 > Subject: [PATCH] random: don't sleep during allocations in irq context > > Since

Re: [BUG, PATCH] random: sleep in irq context

2018-04-23 Thread Sebastian Ott
On Mon, 23 Apr 2018, Sebastian Ott wrote: > From 9d29e0c92efaf94277bc178782523283958ae8c8 Mon Sep 17 00:00:00 2001 > From: Sebastian Ott > Date: Mon, 23 Apr 2018 14:59:20 +0200 > Subject: [PATCH] random: don't sleep during allocations in irq context > > Since numa_crng_init() can be called from

[BUG, PATCH] random: sleep in irq context

2018-04-23 Thread Sebastian Ott
Hi, Today I observed the following lockdep splat: irq event stamp: 36 hardirqs last enabled at (35): [<008e6bc6>] _raw_spin_unlock_irqrestore+0x7e/0xb0 hardirqs last disabled at (36): [<008e6884>] _raw_spin_lock_irqsave+0x3c/0xb8 softirqs last

[BUG, PATCH] random: sleep in irq context

2018-04-23 Thread Sebastian Ott
Hi, Today I observed the following lockdep splat: irq event stamp: 36 hardirqs last enabled at (35): [<008e6bc6>] _raw_spin_unlock_irqrestore+0x7e/0xb0 hardirqs last disabled at (36): [<008e6884>] _raw_spin_lock_irqsave+0x3c/0xb8 softirqs last