diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-10-19 21:33:48 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-05-29 14:08:20 +1000 |
commit | 55ef0db841a0792f5432753f0efdb9ecb07d6231 (patch) | |
tree | 44ebc915d4f006cb778ca89f579c8286bf19760e | |
parent | b4a02f79820b1a7de46b47d9dea39e9014b6a07d (diff) | |
download | skiboot-55ef0db841a0792f5432753f0efdb9ecb07d6231.zip skiboot-55ef0db841a0792f5432753f0efdb9ecb07d6231.tar.gz skiboot-55ef0db841a0792f5432753f0efdb9ecb07d6231.tar.bz2 |
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>
-rw-r--r-- | external/opal-prd/hostboot-interface.h | 15 | ||||
-rw-r--r-- | external/opal-prd/thunk.S | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/external/opal-prd/hostboot-interface.h b/external/opal-prd/hostboot-interface.h index 603b767..41ffcbc 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 ee3d7c3..e09cef9 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: |