freebsd-skq/sys/powerpc/pseries
Leandro Lupori 35f294270c 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
..
mmu_phyp.c [PPC64] Initial kernel minidump implementation 2019-10-14 13:04:04 +00:00
phyp_console.c [PPC] Remove extra \0 char inserted on vty by QEMU 2019-11-29 11:34:11 +00:00
phyp_dbg.c [PPC64] Enable opal console use as a GDB DBGPORT 2019-12-09 13:09:32 +00:00
phyp_llan.c Convert to if_foreach_llmaddr() KPI. 2019-10-21 18:13:37 +00:00
phyp_vscsi.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
phyp-hvcall.h powerpc64/pseries: Define new hcalls 2018-02-14 02:48:27 +00:00
phyp-hvcall.S powerpc64/pseries: Fix hypervisor call with extra arguments 2019-04-23 03:05:26 +00:00
platform_chrp.c Enable use of ofwcons for early debug 2019-12-09 13:40:23 +00:00
plpar_iommu.c
plpar_iommu.h
plpar_pcibus.c
rtas_dev.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
rtas_pci.c
vdevice.c
xics.c [PPC] Fix build error when POWERNV is disabled 2019-06-11 11:23:15 +00:00