diff options
author | Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> | 2014-08-08 15:37:46 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-11 10:47:43 +1000 |
commit | 793b06d73e1543350fc7c4c7c615c594ec1ddd62 (patch) | |
tree | 37db0cee431092200c00311715cecc7f0723d372 /hw | |
parent | edb95ce31618f51df3865dc790d3745faba0ee01 (diff) | |
download | talos-skiboot-793b06d73e1543350fc7c4c7c615c594ec1ddd62.tar.gz talos-skiboot-793b06d73e1543350fc7c4c7c615c594ec1ddd62.zip |
occ: Increase wait time to 60s for OCC to init
OCC F/w team recommends 60s timeout waiting for OCC to init. OCC has
to wait for memory throttle calibration from hardware procedure and
that takes 10s of seconds on large memory configurations. In one of
the failing case, it took 24s for OCC to init.
Typically OCC takes 2-5 secs to boot and we do that in parallel with
skiboot inits. But on certain corner cases with large memory,
we have to wait for 60s before we give up.
Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/occ.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ static bool wait_for_all_occ_init(void) * homer_base+size before passing memory to host services. * This ensures occ_data->valid == 0 before OCC load */ - tries = 20; /* 2 secs */ + tries = 600; /* 60 secs */ while((occ_data->valid != 1) && tries--) { time_wait_ms(100); } |