Skip to content

Commit

Permalink
fsp: return OPAL_BUSY_EVENT on failure sending FSP_CMD_REBOOT / DEEP_…
Browse files Browse the repository at this point in the history
…REBOOT

See 696d378 for all the details.

Suggested-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
stewartsmith committed Oct 11, 2017
1 parent 696d378 commit 296ca2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platforms/ibm-fsp/common.c
@@ -1,4 +1,4 @@
/* Copyright 2013-2014 IBM Corp.
/* Copyright 2013-2017 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -196,7 +196,7 @@ int64_t ibm_fsp_cec_reboot(void)

/* If that failed, talk to the FSP */
if (fsp_sync_msg(fsp_mkmsg(cmd, 0), true))
return OPAL_INTERNAL_ERROR;
return OPAL_BUSY_EVENT;

return OPAL_SUCCESS;
}
Expand Down

0 comments on commit 296ca2a

Please sign in to comment.