opnsense-src/sys/powerpc
Alfredo Dal'Ava Junior dca829138c 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

(cherry picked from commit b8bc6b7954)
2021-05-07 02:33:39 -03:00
..
aim powerpc64: add missing TLB invalidations to radix 2021-04-22 11:31:31 -03:00
amigaone powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
booke Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
conf [PowerPC64] add mpr to GENERIC64 and GENERIC64LE 2021-03-09 21:09:49 -03: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 gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03: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 Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
ofw Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
powermac powerpc/powermac: Constrain 'cpu_sleep()' for AIM to mpc745x 2021-04-19 23:13:41 -05:00
powernv opal_console: fix serial console output corruption on powerpc64 2021-05-07 02:33:39 -03:00
powerpc powerpc: implement bus_map_resource and bus_unmap_resource DEVMETHODs 2021-05-07 02:32:50 -03: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-04-06 22:10:09 -05:00
psim powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00