aboutsummaryrefslogtreecommitdiff
path: root/libstb
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 /libstb
parent562a10caf48c91c673f5e78289894dfbfe326884 (diff)
downloadskiboot-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 'libstb')
-rw-r--r--libstb/stb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstb/stb.c b/libstb/stb.c
index 28d004d..f798bcb 100644
--- a/libstb/stb.c
+++ b/libstb/stb.c
@@ -206,7 +206,7 @@ int tb_measure(enum resource_id id, void *buf, size_t len)
digestp = NULL;
if (!trusted_mode) {
- prlog(PR_NOTICE, "STB: %s skipped resource %d, "
+ prlog(PR_INFO, "STB: %s skipped resource %d, "
"trusted_mode=0\n", __func__, id);
return STB_TRUSTED_MODE_DISABLED;
}
@@ -291,7 +291,7 @@ int sb_verify(enum resource_id id, void *buf, size_t len)
const char *name = NULL;
if (!secure_mode) {
- prlog(PR_NOTICE, "STB: %s skipped resource %d, "
+ prlog(PR_INFO, "STB: %s skipped resource %d, "
"secure_mode=0\n", __func__, id);
return STB_SECURE_MODE_DISABLED;
}