core/opal: Print PIR value in exit path
Useful for debugging.
CC: Nicholas Piggin
@@ -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);
}
}
