diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-06-24 14:17:22 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-26 14:28:58 +1000 |
commit | 7fab123bff59c44650b4b9c6a45c4884ed7ea2bd (patch) | |
tree | 9292560e8147aa9a347308415cfafa7395a6be4f /hw/lpc.c | |
parent | 562a10caf48c91c673f5e78289894dfbfe326884 (diff) | |
download | skiboot-7fab123bff59c44650b4b9c6a45c4884ed7ea2bd.zip skiboot-7fab123bff59c44650b4b9c6a45c4884ed7ea2bd.tar.gz skiboot-7fab123bff59c44650b4b9c6a45c4884ed7ea2bd.tar.bz2 |
Big log level reduction...
90% of what we print isn't useful to a normal user. This
dramatically reduces the amount of messages printed by
OPAL in normal circumstances.
We still need to add a way to bump the log level at boot
based on a BMC scratch register or some HDAT property.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/lpc.c')
-rw-r--r-- | hw/lpc.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1186,8 +1186,8 @@ static void lpc_init_chip_p9(struct dt_node *opb_node) val &= 0xf0000000; opb_write(lpc, opb_master_reg_base + 0xc, val, 4); - printf("LPC[%03x]: Initialized, access via MMIO @%p\n", - gcid, lpc->mbase); + prlog(PR_INFO, "LPC[%03x]: Initialized\n", gcid); + prlog(PR_DEBUG,"access via MMIO @%p\n", lpc->mbase); chip->lpc = lpc; } @@ -1210,7 +1210,8 @@ void lpc_init(void) } } if (lpc_default_chip_id >= 0) - printf("LPC: Default bus on chip 0x%x\n", lpc_default_chip_id); + prlog(PR_DEBUG, "Default bus on chip 0x%x\n", + lpc_default_chip_id); if (has_lpc) { opal_register(OPAL_LPC_WRITE, opal_lpc_write, 5); |