[Skiboot] [PATCH] console: Set log level from nvram

Stewart Smith stewart at linux.vnet.ibm.com
Thu Apr 27 16:55:40 AEST 2017


Michael Neuling <mikey at neuling.org> writes:
> This adds two new nvram options to set the console log level for the
> driver/uart and in memory.  These are called log-level-memory and
> log-level-driver.
>
> These are only set once we have nvram inited.
>
> To set them you do:
>   nvram -p ibm,skiboot --update-config log-level-memory=9
>   nvram -p ibm,skiboot --update-config log-level-driver=9
>
> You can also use the named versions of emerg, alert, crit, err,
> warning, notice, printf, info, debug, trace or insane.  ie.
>     nvram -p ibm,skiboot --update-config log-level-driver=insane
>
> Suggested-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Signed-off-by: Michael Neuling <mikey at neuling.org>

Thanks! Merged to master as of ba4d46fdd9eb3543ec9841efc8f504c21a5f9a48
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list