aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2018-05-01 00:55:48 +1000
committerMichael Ellerman <[email protected]>2018-07-24 22:09:56 +1000
commitd2a2262e686ce7a27776add27751f925ceda856f (patch)
tree4dff5a937882a3c9d596eacbcf3eae31ab8c94b8 /tools/perf/scripts/python/bin
parente00da0f2db91b90e990cc05088f03adbc58af895 (diff)
powerpc/powernv: Implement and use opal_flush_console
A new console flushing firmware API was introduced to replace event polling loops, and implemented in opal-kmsg with affddff69c55e ("powerpc/powernv: Add a kmsg_dumper that flushes console output on panic"), to flush the console in the panic path. The OPAL console driver has other situations where interrupts are off and it needs to flush the console synchronously. These still use a polling loop. So move the opal-kmsg flush code to opal_flush_console, and use the new function in opal-kmsg and opal_put_chars. Cc: Benjamin Herrenschmidt <[email protected]> Reviewed-by: Russell Currey <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions