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

Mahesh J Salgaonkar mahesh at linux.vnet.ibm.com
Tue Apr 17 03:34:16 AEST 2018


From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>

Helps in debugging...

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

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);
 	}
 }
 



More information about the Skiboot mailing list