freebsd-skq/sys/powerpc
Alfredo Dal'Ava Junior b8bc6b7954 opal_console: fix serial console output corruption on powerpc64
Adds OPAL_CONSOLE_WRITE error handling and implements a call to
OPAL_CONSOLE_WRITE_BUFFER_SPACE to verify if there's enough space
before writing to console.

This fixes serial port output getting corrupted on fast writes, like
on "dmesg" output.

Tested on Raptor Blackbird running powerpc64 BE kernel

Reviewed by:	luporl
Sponsored by:	Eldorado Reserach Institute (eldorado.org.br)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D29063
2021-04-16 20:10:09 -03:00
..
aim powerpc64: add missing TLB invalidations to radix 2021-04-06 08:31:44 -03:00
amigaone powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
booke Clean up a couple of MD warts in vm_fault_populate(): 2021-03-30 18:15:55 -07:00
conf powerpc: Fix programmer's switch driver and add to GENERIC 2021-04-05 12:04:12 -05:00
cpufreq powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
fpu powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
include Rename struct device to struct _device 2021-04-12 09:32:30 -04:00
mambo Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
mikrotik powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
mpc85xx Merge the QorIQ GPIO drivers between arm and powerpc 2021-04-05 10:35:15 -05:00
ofw Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
powermac powerpc: Fix programmer's switch driver and add to GENERIC 2021-04-05 12:04:12 -05:00
powernv opal_console: fix serial console output corruption on powerpc64 2021-04-16 20:10:09 -03:00
powerpc [PowerPC] Remove unused IPI type count tracking. 2021-03-30 20:03:06 -05:00
ps3 Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
pseries powerpc/pseries: Add new hypercall definition, H_REGISTER_PROC_TBL 2021-03-30 21:22:21 -05:00
psim powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00