BUG: sleeping function called from ras_epow_interrupt context

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Jul 15 07:22:57 AEST 2015


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.




More information about the Linuxppc-dev mailing list