From 377cd39bc5e148cd84d766f0b3324a5979d4558e Mon Sep 17 00:00:00 2001 From: Mahesh Salgaonkar Date: Mon, 16 Apr 2018 23:04:16 +0530 Subject: opal/hmi: Print additional debug information in rendezvous. Helps in debugging... Signed-off-by: Mahesh Salgaonkar Signed-off-by: Stewart Smith --- core/hmi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/hmi.c') diff --git a/core/hmi.c b/core/hmi.c index b01a2bf..b062428 100644 --- a/core/hmi.c +++ b/core/hmi.c @@ -888,7 +888,8 @@ static void hmi_rendez_vous(uint32_t sig) cpu_relax(); if (!timeout) prlog(PR_ERR, "Rendez-vous stage 1 timeout, CPU 0x%x" - " waiting for thread %d\n", t->pir, i); + " waiting for thread %d (sptr=%08x)\n", + t->pir, i, *sptr); } /* Set the exit bit */ @@ -911,7 +912,8 @@ static void hmi_rendez_vous(uint32_t sig) cpu_relax(); if (!timeout) prlog(PR_ERR, "Rendez-vous stage 2 timeout, CPU 0x%x" - " waiting for thread %d\n", t->pir, i); + " waiting for thread %d (sptr=%08x)\n", + t->pir, i, *sptr); } } -- cgit v1.1