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

Mahesh J Salgaonkar mahesh at linux.vnet.ibm.com
Wed Mar 14 21:08:36 AEDT 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 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);
 	}
 }
 



More information about the Skiboot mailing list