summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2018-04-16 23:04:16 +0530
committerStewart Smith <stewart@linux.ibm.com>2018-04-17 03:52:10 -0500
commit377cd39bc5e148cd84d766f0b3324a5979d4558e (patch)
tree1e993e3b7815ec487f7e0b69a3b571a2bfebfe9f
parentfab27f3580d8e13e1e506851da4a783bb268e1ac (diff)
downloadtalos-skiboot-377cd39bc5e148cd84d766f0b3324a5979d4558e.tar.gz
talos-skiboot-377cd39bc5e148cd84d766f0b3324a5979d4558e.zip
opal/hmi: Print additional debug information in rendezvous.
Helps in debugging... Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--core/hmi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/hmi.c b/core/hmi.c
index b01a2bf3..b062428a 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);
}
}
OpenPOWER on IntegriCloud