[Skiboot] [PATCH 1/2] core/init: Add prlog calls to make use of fwts annotations

Pridhiviraj Paidipeddi ppaidipe at linux.vnet.ibm.com
Mon Nov 21 20:11:14 AEDT 2016


Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
---
 core/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/init.c b/core/init.c
index 9d4ab60..c41d634 100644
--- a/core/init.c
+++ b/core/init.c
@@ -675,6 +675,7 @@ static void per_thread_sanity_checks(void)
 	 * with a non-zero HRMOR and setting it will break some things (e.g
 	 * XSCOMs) in hard-to-debug ways.
 	 */
+	prlog(PR_EMERG, "INIT: Non-zero HRMOR found\n");
 	assert(mfspr(SPR_HRMOR) == 0);
 
 	/**
@@ -684,6 +685,7 @@ static void per_thread_sanity_checks(void)
 	 * happen if the HDAT or devicetree reports too few threads or cores for
 	 * this processor.
 	 */
+	prlog(PR_EMERG, "INIT: secondary thread called in\n");
 	assert(cpu->state != cpu_state_no_cpu);
 }
 
-- 
2.7.4



More information about the Skiboot mailing list