diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2019-02-04 11:33:18 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-02-04 01:26:35 -0600 |
commit | 554062d7fe5aac2e1a65a15a0385946a1fb6f8f4 (patch) | |
tree | 69ada5d652baf4292c4d24a9550154b51ded5fde /core | |
parent | 7516e3827e5044442b9b79fa44fe118e101207c8 (diff) | |
download | skiboot-554062d7fe5aac2e1a65a15a0385946a1fb6f8f4.zip skiboot-554062d7fe5aac2e1a65a15a0385946a1fb6f8f4.tar.gz skiboot-554062d7fe5aac2e1a65a15a0385946a1fb6f8f4.tar.bz2 |
core/opal: Print PIR value in exit path
Useful for debugging.
CC: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/opal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/opal.c b/core/opal.c index 78869b5..624e2a2 100644 --- a/core/opal.c +++ b/core/opal.c @@ -193,8 +193,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); } } |