Re: BUG: sleeping function called from ras_epow_interrupt context

2015-07-14 Thread Benjamin Herrenschmidt
On Tue, 2015-07-14 at 20:43 +0200, Thomas Huth wrote: > Any suggestions how to fix this? Simply revert 587f83e8dd50d? Use > mdelay() instead of msleep() in rtas_busy_delay()? Something more > fancy? A proper fix would be more fancy, the get_sensor should happen in a kernel thread instead. Cheers,

BUG: sleeping function called from ras_epow_interrupt context

2015-07-14 Thread Thomas Huth
Hi all! A colleague recently ran into some kernel BUG messages that happen when hot-plugging a virtio disk to a KVM guest on powerpc (with "virsh attach-disk"), and IIRC CONFIG_DEBUG_ATOMIC_SLEEP enabled. I've tried to re-create the problem with an up-to-date kernel (4.2.0-rc2) and the problem s