linux/arch/powerpc/platforms
Nicholas Piggin d2a2262e68 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 affddff69c
("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 <benh@kernel.crashing.org>
Reviewed-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-07-24 22:09:56 +10:00
..
4xx treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
8xx powerpc/8xx: Remove RTC clock on 88x 2018-06-04 00:39:18 +10:00
40x
44x
52xx powerpc/mpc5200: Remove VLA usage 2018-07-03 12:00:54 +10:00
82xx
83xx powerpc: remove retired sbc834x support 2018-05-03 22:32:30 +10:00
85xx
86xx
512x
amigaone
cell powerpc updates for 4.18 2018-06-07 10:23:33 -07:00
chrp chrp/nvram.c: add MODULE_LICENSE() 2018-07-19 14:38:46 +10:00
embedded6xx powerpc: wii: Remove outdated comment about memory fixups 2018-07-02 23:54:27 +10:00
maple powerpc: use time64_t in read_persistent_clock 2018-06-03 20:43:33 +10:00
pasemi powerpc: use time64_t in read_persistent_clock 2018-06-03 20:43:33 +10:00
powermac powerpc/powermac: Fix rtc read/write functions 2018-06-27 13:48:49 +10:00
powernv powerpc/powernv: Implement and use opal_flush_console 2018-07-24 22:09:56 +10:00
ps3 powerpc: remove unused to_tm() helper 2018-06-03 20:43:34 +10:00
pseries powerpc/pseries/mm: Improve error reporting on HCALL failures 2018-07-24 22:03:19 +10:00
fsl_uli1575.c
Kconfig
Kconfig.cputype powerpc: Enable kernel XZ compression option on BOOK3S_32 2018-07-04 22:41:10 +10:00
Makefile