diff mbox series

[12/14] opal/hmi: Print additional debug information in rendezvous.

Message ID 152102211640.14271.2698705147204535895.stgit@jupiter.in.ibm.com
State Superseded
Headers show
Series opal/hmi: Rework HMI handling. | expand

Commit Message

Mahesh J Salgaonkar March 14, 2018, 10:08 a.m. UTC
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(-)
diff mbox series

Patch

diff --git a/core/hmi.c b/core/hmi.c
index 50703eb51..2e0fa0773 100644
--- a/core/hmi.c
+++ b/core/hmi.c
@@ -853,7 +853,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 */
@@ -876,7 +877,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);
 	}
 }