[Skiboot] OPAL console rework

Oliver O'Halloran oohall at gmail.com
Tue Dec 20 17:03:31 AEDT 2016


Patches 1-6 are misc cleanups of core/console.c

Patches 7-14 untangle the OPAL and skiboot consoles by removing the flush
operation from the skiboot con_ops structure and reworking the console
init path so the platform init code doesn't need to awkwardly step around
the dummy console forcing.

Hopefully these will make the console handling inside of skiboot a little
more approachable. In the future I'd like to further rework parts of it so
that most of the paramter validation for the OPAL_CONSOLE_* calls can be
handled in generic code rather than being repeated inside each OPAL console
backend, but this series is mostly cleanups to prepare for that.

---
Changes in v2:
	mambo.h got lost when moving in v1 which made it hard to compile
	some whitespaces fixes to make `git am' happy
---



More information about the Skiboot mailing list