Subject: Re: BUG: sleeping function called from ras_epow_interrupt context

From: Benjamin Herrenschmidt <[email-masked]>
Date: Wed, 15 Jul 2015 07:22:57 +1000

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,
Ben.