[Skiboot] [PATCH] core/opal: Print PIR value in exit path
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Mon Feb 4 17:03:18 AEDT 2019
Useful for debugging.
CC: Nicholas Piggin <npiggin at gmail.com>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
core/opal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/opal.c b/core/opal.c
index e3a3bbdee..ac703cb1a 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -187,8 +187,8 @@ int64_t opal_exit_check(int64_t retval, struct stack_frame *eframe)
abort();
}
if (!list_empty(&cpu->locks_held)) {
- prlog(PR_ERR, "OPAL exiting with locks held, token=%llu retval=%lld\n",
- token, retval);
+ prlog(PR_ERR, "OPAL exiting with locks held, pir=%04x token=%llu retval=%lld\n",
+ cpu->pir, token, retval);
drop_my_locks(true);
}
}
--
2.14.3
More information about the Skiboot
mailing list