freebsd-skq/sys/powerpc/ofw
luporl 9d7e821a7f Enable use of ofwcons for early debug
This change enables the use of OpenFirmware Console (ofwcons), even when VGA is
available, allowing early kernel messages to be seen, that is important in case
of crashes before VGA console initialization.

This is specially useful in virtualized environments, where the user/developer
doesn't have full control of the virtualization engine (e.g. OpenStack).

The old behavior is preserved by default and, in order to use ofwcons, a few
tunables that have been introduced need to be set:
- hw.ofwfb.disable=1     - disable OFW FrameBuffer device
- machdep.ofw.mtx_spin=1 - change PPC OFW mutex to SPIN type, to match kernel
                           console's mutex type
- debug.quiesce_ofw=0    - don't call OFW quiesce, needed to keep ofwcons I/O
                           working

More details can be found at differential revision D20640.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D20640
2019-12-09 13:40:23 +00:00
..
ofw_initrd.c [PPC64] Fix ofw_initrd 2019-06-11 11:16:41 +00:00
ofw_machdep.c [PPC] Avoid underflows in NUMA domains 2019-10-22 18:28:58 +00:00
ofw_pcib_pci.c Sprinkle EARLY_DRIVER_MODULE around the tree 2018-12-04 04:55:49 +00:00
ofw_pcibus.c [PPC] Avoid underflows in NUMA domains 2019-10-22 18:28:58 +00:00
ofw_pcibus.h sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
ofw_real.c Enable use of ofwcons for early debug 2019-12-09 13:40:23 +00:00
ofw_syscons.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
ofw_syscons.h sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
ofwcall32.S powerpc: Get 32-bit AIM building with secure-PLT 2019-08-05 01:37:18 +00:00
ofwcall64.S powerpc64: Use medium code model in asm files for TOC references 2019-03-29 02:38:30 +00:00
openpic_ofw.c powerpc/mpc85xx: Add MSI support for Freescale PowerPC SoCs 2019-11-08 03:36:19 +00:00
rtas.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00