Message ID | 20180117120831.22533-2-npiggin@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | [RFC] opal: allow some opal calls to re-enter OPAL in case we take a NMI | expand |
diff --git a/core/opal.c b/core/opal.c index fd69359c4..d0dd5b3b3 100644 --- a/core/opal.c +++ b/core/opal.c @@ -145,7 +145,8 @@ 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); - if (token != OPAL_CEC_REBOOT && + if (token != OPAL_QUIESCE && + token != OPAL_CEC_REBOOT && token != OPAL_CEC_POWER_DOWN && token != OPAL_CEC_REBOOT2 && token != OPAL_SIGNAL_SYSTEM_RESET)