diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-03-16 20:15:15 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2018-03-22 10:12:41 -0700 |
commit | 884f97b25b49b961992a782a7173f7b18e50c8f0 (patch) | |
tree | 79aef439354ec4d156bbb85db36cfa203752db00 /core/opal.c | |
parent | 3e74805702f6216ac550708dc0f23ceb15c95bc3 (diff) | |
download | skiboot-884f97b25b49b961992a782a7173f7b18e50c8f0.zip skiboot-884f97b25b49b961992a782a7173f7b18e50c8f0.tar.gz skiboot-884f97b25b49b961992a782a7173f7b18e50c8f0.tar.bz2 |
core/opal: abort in case of re-entrant OPAL call
The stack is already destroyed by the time we get here, so there
is not much point continuing.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/opal.c')
-rw-r--r-- | core/opal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/opal.c b/core/opal.c index 9bf2ad8..e7940e7 100644 --- a/core/opal.c +++ b/core/opal.c @@ -145,7 +145,7 @@ int64_t opal_entry_check(struct stack_frame *eframe) if (!opal_quiesce_state && cpu->in_opal_call) { printf("CPU ATTEMPT TO RE-ENTER FIRMWARE! PIR=%04lx cpu @%p -> pir=%04x token=%llu\n", mfspr(SPR_PIR), cpu, cpu->pir, token); - return OPAL_BUSY; + abort(); } again: |