aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-08 22:31:19 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-08 22:31:19 +1000
commitedb95ce31618f51df3865dc790d3745faba0ee01 (patch)
treecefab6b565c69e1daef22ab38541d7e6690b69ea
parentf1067cdc0a9c8e34e4c2e57ad9dd37132b47fcb3 (diff)
downloadskiboot-edb95ce31618f51df3865dc790d3745faba0ee01.zip
skiboot-edb95ce31618f51df3865dc790d3745faba0ee01.tar.gz
skiboot-edb95ce31618f51df3865dc790d3745faba0ee01.tar.bz2
surv: Cleanup log output
Don't add timestamps, the core printf does it now Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--hw/fsp/fsp-surveillance.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/hw/fsp/fsp-surveillance.c b/hw/fsp/fsp-surveillance.c
index a10e9bf..696203d 100644
--- a/hw/fsp/fsp-surveillance.c
+++ b/hw/fsp/fsp-surveillance.c
@@ -52,12 +52,14 @@ static void fsp_surv_ack(struct fsp_msg *msg)
val = (msg->resp->word1 >> 8) & 0xff;
if (val == 0) {
/* reset the pending flag */
- printf("SURV: Received heartbeat acknowledge from FSP\n");
+ prlog(PR_DEBUG,
+ "SURV: Received heartbeat acknowledge from FSP\n");
lock(&surv_lock);
fsp_surv_ack_pending = false;
unlock(&surv_lock);
} else
- prerror("SURV: Heartbeat Acknowledgment error from FSP\n");
+ prlog(PR_ERR,
+ "SURV: Heartbeat Acknowledgment error from FSP\n");
fsp_freemsg(msg);
}
@@ -108,8 +110,8 @@ static void fsp_surv_hbeat(void)
if (surv_timer == 0 ||
(tb_compare(now, surv_timer) == TB_AAFTERB) ||
(tb_compare(now, surv_timer) == TB_AEQUALB)) {
- printf("SURV: [%16llx] Sending the hearbeat command to FSP\n",
- now);
+ prlog(PR_DEBUG,
+ "SURV: Sending the hearbeat command to FSP\n");
fsp_queue_msg(fsp_mkmsg(FSP_CMD_SURV_HBEAT, 1, 120),
fsp_surv_ack);