[Skiboot] [PATCH] fsp-elog: Reduce verbosity of elog messages

Michael Neuling mikey at neuling.org
Tue Nov 28 10:56:43 AEDT 2017


These messages just fill up the opal console log with useless messages
resulting in us losing useful information.

They have been like this since the first commit in skiboot. Make them
trace.

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 hw/fsp/fsp-elog-read.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/fsp/fsp-elog-read.c b/hw/fsp/fsp-elog-read.c
index fb8c753d04..d4419045f5 100644
--- a/hw/fsp/fsp-elog-read.c
+++ b/hw/fsp/fsp-elog-read.c
@@ -500,7 +500,7 @@ static bool fsp_elog_msg(uint32_t cmd_sub_mod, struct fsp_msg *msg)
 	log_id = msg->data.words[0];
 	log_size = msg->data.words[1];
 
-	printf("ELOG: Notified of log 0x%08x (size: %d)\n",
+	prlog(PR_TRACE, "ELOG: Notified of log 0x%08x (size: %d)\n",
 	       log_id, log_size);
 
 	/* Make sure we don't cross read buffer size */
@@ -531,7 +531,7 @@ static bool fsp_elog_msg(uint32_t cmd_sub_mod, struct fsp_msg *msg)
 		fsp_elog_check_and_fetch_head();
 
 	} else {
-		printf("ELOG: Log entry 0x%08x discarded\n", log_id);
+		prlog(PR_TRACE, "ELOG: Log entry 0x%08x discarded\n", log_id);
 
 		/* Unlock if elog_read_free is empty. */
 		unlock(&elog_read_lock);
-- 
2.14.1



More information about the Skiboot mailing list