summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-10-19 21:33:48 -0500
committerStewart Smith <stewart@linux.ibm.com>2018-05-29 14:08:20 +1000
commit55ef0db841a0792f5432753f0efdb9ecb07d6231 (patch)
tree44ebc915d4f006cb778ca89f579c8286bf19760e /external
parentb4a02f79820b1a7de46b47d9dea39e9014b6a07d (diff)
downloadblackbird-skiboot-55ef0db841a0792f5432753f0efdb9ecb07d6231.tar.gz
blackbird-skiboot-55ef0db841a0792f5432753f0efdb9ecb07d6231.zip
Add prepare_hbrt_update to hbrt interfaces
Add placeholder support for prepare_hbrt_update call into hostboot runtime (opal-prd) code. This interface is only called as part of a concurrent code update on a FSP based system. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/opal-prd/hostboot-interface.h15
-rw-r--r--external/opal-prd/thunk.S1
2 files changed, 15 insertions, 1 deletions
diff --git a/external/opal-prd/hostboot-interface.h b/external/opal-prd/hostboot-interface.h
index 603b767c..41ffcbcb 100644
--- a/external/opal-prd/hostboot-interface.h
+++ b/external/opal-prd/hostboot-interface.h
@@ -683,6 +683,19 @@ struct runtime_interfaces {
*/
void (*firmware_notify)(uint64_t len, void *data);
+ /**
+ * @brief Prepare for HBRT concurrent code update
+ *
+ * @details This call allows the Host to inform HBRT that a concurrent
+ * code update has been initiated. HBRT then prepares updated targeting
+ * data for use by the updated HBRT code.
+ *
+ * @return 0 on success else return code
+ * @platform FSP
+ */
+ int (*prepare_hbrt_update)( void );
+
+
/* Reserve some space for future growth. */
- void (*reserved[22])(void);
+ void (*reserved[21])(void);
};
diff --git a/external/opal-prd/thunk.S b/external/opal-prd/thunk.S
index ee3d7c33..e09cef94 100644
--- a/external/opal-prd/thunk.S
+++ b/external/opal-prd/thunk.S
@@ -100,6 +100,7 @@ call_##name: ;\
CALL_THUNK(reset_pm_complex, 19)
CALL_THUNK(get_ipoll_events, 20)
CALL_THUNK(firmware_notify, 21)
+ CALL_THUNK(prepare_hbrt_update, 22)
.globl call_hbrt_init
call_hbrt_init:
OpenPOWER on IntegriCloud