Re: [2/2] powerpc/powernv: Fix NVRAM sleep in invalid context when crashing

2018-05-17 Thread Michael Ellerman
On Mon, 2018-05-14 at 15:59:47 UTC, Nicholas Piggin wrote: > Similarly to opal_event_shutdown, opal_nvram_write can be called in > the crash path with irqs disabled. Special case the delay to avoid > sleeping in invalid context. > > Cc: sta...@vger.kernel.org # v3.2 > Fixes: 3b8070335f ("powerpc/p

[PATCH 2/2] powerpc/powernv: Fix NVRAM sleep in invalid context when crashing

2018-05-14 Thread Nicholas Piggin
Similarly to opal_event_shutdown, opal_nvram_write can be called in the crash path with irqs disabled. Special case the delay to avoid sleeping in invalid context. Cc: sta...@vger.kernel.org # v3.2 Fixes: 3b8070335f ("powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops") Signed-off-by: Nicholas