Re: powerpc/powernv: call OPAL_QUIESCE before OPAL_SIGNAL_SYSTEM_RESET

2018-06-04 Thread Michael Ellerman
On Thu, 2018-05-10 at 12:21:48 UTC, Nicholas Piggin wrote: > Although it is often possible to recover a CPU that was interrupted > from OPAL with a system reset NMI, it's undesirable to interrupt them > for a few reasons. Firstly because dump/debug code itself needs to > call firmware, so it could

[PATCH] powerpc/powernv: call OPAL_QUIESCE before OPAL_SIGNAL_SYSTEM_RESET

2018-05-10 Thread Nicholas Piggin
Although it is often possible to recover a CPU that was interrupted from OPAL with a system reset NMI, it's undesirable to interrupt them for a few reasons. Firstly because dump/debug code itself needs to call firmware, so it could hang on a lock or possibly corrupt a per-cpu data structure if it