diff options
author | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2015-02-19 15:38:17 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-23 13:32:00 +1100 |
commit | 4db0c1e4f67474e1af7e9a391598d2a776485edd (patch) | |
tree | 07ac0cc5599d90b8adf66b0de6ee4f7f9ce8115a /include | |
parent | 7b75c5832f55921294d1083d3083feb8ecbeb0e4 (diff) | |
download | skiboot-4db0c1e4f67474e1af7e9a391598d2a776485edd.zip skiboot-4db0c1e4f67474e1af7e9a391598d2a776485edd.tar.gz skiboot-4db0c1e4f67474e1af7e9a391598d2a776485edd.tar.bz2 |
OCC/hostservices: Queue pre-preload HBRT lid load requests
There is no guarantee that a hostservices lid load request will arrive
after we have cached the required lids. For such cases, queue the
request and service them after caching.
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hostservices.h | 1 | ||||
-rw-r--r-- | include/skiboot.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/hostservices.h b/include/hostservices.h index c8958a3..e85abc3 100644 --- a/include/hostservices.h +++ b/include/hostservices.h @@ -19,6 +19,7 @@ bool hservices_init(void); void hservices_lid_preload(void); +bool hservices_lid_preload_complete(void); int host_services_occ_load(void); int host_services_occ_start(void); diff --git a/include/skiboot.h b/include/skiboot.h index a13b438..d20a9a2 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -215,6 +215,9 @@ extern void uart_setup_opal_console(void); extern void occ_interrupt(uint32_t chip_id); extern void occ_send_dummy_interrupt(void); +/* OCC load support */ +extern void occ_poke_load_queue(void); + /* Flatten device-tree */ extern void *create_dtb(const struct dt_node *root); |