aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>2015-11-12 18:41:32 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-13 15:57:13 +1100
commita804c1b2c13f0f16fb6999c3d2340fa6bd2865d3 (patch)
treedca05d627e2a7c1d022952f580348e4fd03795c2 /include
parentad1aa4b81a1add6a3ac2e100dcc73aa0ed33d611 (diff)
downloadskiboot-a804c1b2c13f0f16fb6999c3d2340fa6bd2865d3.zip
skiboot-a804c1b2c13f0f16fb6999c3d2340fa6bd2865d3.tar.gz
skiboot-a804c1b2c13f0f16fb6999c3d2340fa6bd2865d3.tar.bz2
occ: hbrt: Change the OCC reset order
Modify the OCC reset order such that master OCC is reset after the slave OCCs are reset. In Tuleta/Alpine systems 'proc0' will always be the master OCC, which has to be stopped last when FSP sends OCC_RESET command to Opal. This fixes BZ 119718, SW289036 Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/hostservices.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hostservices.h b/include/hostservices.h
index e85abc3..d6bb3e3 100644
--- a/include/hostservices.h
+++ b/include/hostservices.h
@@ -36,4 +36,7 @@ void host_services_occ_base_setup(void);
#define HOMER_IMAGE_SIZE 0x400000 /* 4MB per-chip */
#define OCC_COMMON_SIZE 0x800000 /* 8MB */
+int find_master_and_slave_occ(uint64_t **master, uint64_t **slave,
+ int *nr_masters, int *nr_slaves);
+
#endif /* __HOSTSERVICES_H */