Skip to content

Commit

Permalink
core/opal: Print PIR value in exit path
Browse files Browse the repository at this point in the history
[ Upstream commit 554062d ]

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>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
  • Loading branch information
Vasant Hegde committed Feb 15, 2019
1 parent 5a157d1 commit e5ee11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/opal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit e5ee11f

Please sign in to comment.