From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Date: Tue, 14 Jul 2015 21:22:57 +0000 Subject: Re: BUG: sleeping function called from ras_epow_interrupt context Message-Id: <1436908977.3948.266.camel@kernel.crashing.org> List-Id: References: <55A55846.5080904@redhat.com> In-Reply-To: <55A55846.5080904@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Thomas Huth Cc: linuxppc-dev@lists.ozlabs.org, anton@samba.org, kvm-ppc@vger.kernel.org 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.