summaryrefslogtreecommitdiffstats
path: root/core/opal.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-06-24 14:17:22 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-26 14:28:58 +1000
commit7fab123bff59c44650b4b9c6a45c4884ed7ea2bd (patch)
tree9292560e8147aa9a347308415cfafa7395a6be4f /core/opal.c
parent562a10caf48c91c673f5e78289894dfbfe326884 (diff)
downloadtalos-skiboot-7fab123bff59c44650b4b9c6a45c4884ed7ea2bd.tar.gz
talos-skiboot-7fab123bff59c44650b4b9c6a45c4884ed7ea2bd.zip
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 'core/opal.c')
-rw-r--r--core/opal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/opal.c b/core/opal.c
index 14357cc3..8095f731 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -64,8 +64,8 @@ void opal_table_init(void)
struct opal_table_entry *s = __opal_table_start;
struct opal_table_entry *e = __opal_table_end;
- printf("OPAL table: %p .. %p, branch table: %p\n",
- s, e, opal_branch_table);
+ prlog(PR_DEBUG, "OPAL table: %p .. %p, branch table: %p\n",
+ s, e, opal_branch_table);
while(s < e) {
opal_branch_table[s->token] = function_entry_address(s->func);
opal_num_args[s->token] = s->nargs;
OpenPOWER on IntegriCloud