[v2,12/15] opal/hmi: Print additional debug information in rendezvous.

Message ID 152390005624.2566.15624466819277867835.stgit@jupiter.in.ibm.com
State Accepted
Headers show
Series
  • opal/hmi: Rework HMI handling.
Related show

Commit Message

Mahesh J Salgaonkar April 16, 2018, 5:34 p.m.
From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>

Helps in debugging...

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
---
 core/hmi.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/core/hmi.c b/core/hmi.c
index b01a2bf32..b062428a3 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);
 	}
 }