Searched hist:ac4ac788 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/tty/hvc/ |
H A D | hvc_opal.c | ac4ac788 Mon Apr 30 09:55:50 CDT 2018 Nicholas Piggin <npiggin@gmail.com> powerpc/powernv: move opal console flushing to udbg
OPAL console writes do not have to synchronously flush firmware / hardware buffers unless they are going through the udbg path.
Remove the unconditional flushing from opal_put_chars. Flush if there was no space in the buffer as an optimisation (callers loop waiting for success in that case). udbg flushing is moved to udbg_opal_putc.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> ac4ac788 Mon Apr 30 09:55:50 CDT 2018 Nicholas Piggin <npiggin@gmail.com> powerpc/powernv: move opal console flushing to udbg OPAL console writes do not have to synchronously flush firmware / hardware buffers unless they are going through the udbg path. Remove the unconditional flushing from opal_put_chars. Flush if there was no space in the buffer as an optimisation (callers loop waiting for success in that case). udbg flushing is moved to udbg_opal_putc. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal.c | ac4ac788 Mon Apr 30 09:55:50 CDT 2018 Nicholas Piggin <npiggin@gmail.com> powerpc/powernv: move opal console flushing to udbg
OPAL console writes do not have to synchronously flush firmware / hardware buffers unless they are going through the udbg path.
Remove the unconditional flushing from opal_put_chars. Flush if there was no space in the buffer as an optimisation (callers loop waiting for success in that case). udbg flushing is moved to udbg_opal_putc.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> ac4ac788 Mon Apr 30 09:55:50 CDT 2018 Nicholas Piggin <npiggin@gmail.com> powerpc/powernv: move opal console flushing to udbg OPAL console writes do not have to synchronously flush firmware / hardware buffers unless they are going through the udbg path. Remove the unconditional flushing from opal_put_chars. Flush if there was no space in the buffer as an optimisation (callers loop waiting for success in that case). udbg flushing is moved to udbg_opal_putc. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|