diff mbox series

fsp: return OPAL_BUSY_EVENT on failure sending FSP_CMD_REBOOT / DEEP_REBOOT

Message ID 20171011055718.26762-1-stewart@linux.vnet.ibm.com
State Accepted
Headers show
Series fsp: return OPAL_BUSY_EVENT on failure sending FSP_CMD_REBOOT / DEEP_REBOOT | expand

Commit Message

Stewart Smith Oct. 11, 2017, 5:57 a.m. UTC
See 696d378d7b7295366e115e89a785640bf72a5043 for all the details.

Suggested-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 platforms/ibm-fsp/common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Stewart Smith Oct. 11, 2017, 8:59 a.m. UTC | #1
Stewart Smith <stewart@linux.vnet.ibm.com> writes:
> See 696d378d7b7295366e115e89a785640bf72a5043 for all the details.
>
> Suggested-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
> ---
>  platforms/ibm-fsp/common.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Merged to master as of 296ca2acf00fde764e3ea6436f46468c6caef174
and 5.4.x as of 64a9157225ded96a16c400cff6a7229c054e8fcc
and made it to 5.4.8
diff mbox series

Patch

diff --git a/platforms/ibm-fsp/common.c b/platforms/ibm-fsp/common.c
index 0a9b06f77e33..e916c392b876 100644
--- a/platforms/ibm-fsp/common.c
+++ b/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.
@@ -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;
 }