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 <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Signed-off-by: Stewart Smith <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
  • Loading branch information
Vasant Hegde committed Feb 15, 2019
1 parent ab10b2e commit d07a562
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 @@ -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);
}
}
Expand Down

0 comments on commit d07a562

Please sign in to comment.