[Skiboot] [PATCH] fsp: Move common prints to trace

Michael Neuling mikey at neuling.org
Wed Sep 20 14:46:18 AEST 2017


These two prints just end up filling the skiboot logs on any machine
that's been booted for more than a few hours.

They have never been useful, so make them trace level.

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

diff --git a/hw/fsp/fsp-surveillance.c b/hw/fsp/fsp-surveillance.c
index 202b0932ab..54e77cfa72 100644
--- a/hw/fsp/fsp-surveillance.c
+++ b/hw/fsp/fsp-surveillance.c
@@ -53,7 +53,7 @@ static void fsp_surv_ack(struct fsp_msg *msg)
 	val = (msg->resp->word1 >> 8) & 0xff;
 	if (val == 0) {
 		/* reset the pending flag */
-		prlog(PR_DEBUG,
+		prlog(PR_TRACE,
 		      "SURV: Received heartbeat acknowledge from FSP\n");
 		lock(&surv_lock);
 		fsp_surv_ack_pending = false;
@@ -115,7 +115,7 @@ static void fsp_surv_hbeat(void)
 	if (surv_timer == 0 ||
 	    (tb_compare(now, surv_timer) == TB_AAFTERB) ||
 	    (tb_compare(now, surv_timer) == TB_AEQUALB)) {
-		prlog(PR_DEBUG,
+		prlog(PR_TRACE,
 		      "SURV: Sending the heartbeat command to FSP\n");
 		msg = fsp_mkmsg(FSP_CMD_SURV_HBEAT, 1, 120);
 		if (!msg) {
-- 
2.11.0



More information about the Skiboot mailing list