diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2018-05-15 01:59:47 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-26 08:48:55 +0200 |
| commit | 380efa6a71c5aba6dec2a1432a29644bb0b220a8 (patch) | |
| tree | 157d02ed6ccdefb0fc54ed9b50f78544f7e988a4 /tools/perf/scripts/python | |
| parent | b8c71ce9e00d7aa60b847a5822fd18a716a52332 (diff) | |
powerpc/powernv: Fix NVRAM sleep in invalid context when crashing
commit c1d2a31397ec51f0370f6bd17b19b39152c263cb upstream.
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.
Fixes: 3b8070335f75 ("powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops")
Cc: stable@vger.kernel.org # v3.2
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
