From 7fab123bff59c44650b4b9c6a45c4884ed7ea2bd Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sat, 24 Jun 2017 14:17:22 -0500 Subject: 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 Signed-off-by: Michael Neuling Signed-off-by: Stewart Smith --- libstb/stb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libstb') 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; } -- cgit v1.1