From 74a9324db23d799735f88b012ab002343011c9d1 Mon Sep 17 00:00:00 2001 From: Jacob Harvey Date: Tue, 25 Apr 2017 14:12:52 -0500 Subject: Increasing CCS polling limit for HB timeout Change-Id: I10dfb88d9b020214822aa2c2a34bf599c02ae51d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39665 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Louis Stermole Reviewed-by: Daniel M. Crowell Reviewed-by: ANDRE A. MARIN Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39674 Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins --- src/import/chips/p9/procedures/hwp/memory/lib/phy/cal_timers.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/phy/cal_timers.H b/src/import/chips/p9/procedures/hwp/memory/lib/phy/cal_timers.H index 310eab57d..e7bb30248 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/phy/cal_timers.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/phy/cal_timers.H @@ -215,8 +215,7 @@ inline fapi2::ReturnCode cal_timer_setup(const fapi2::Target& i_target, l_total_cycles += i_cal_steps_enabled.getBit() ? l_write_cntr_cycles : 0; l_total_cycles += i_cal_steps_enabled.getBit() ? coarse_wr_cycles(i_target) : 0; l_total_cycles += i_cal_steps_enabled.getBit() ? coarse_rd_cycles(i_target) : 0; - l_total_cycles += - ((l_vref_cal_enable != 0) && i_cal_steps_enabled.getBit()) ? rc::vref_guess_time(i_target) : 0; + l_total_cycles += i_cal_steps_enabled.getBit() ? rc::vref_guess_time(i_target) : 0; // Now we have to decide if we're going to abort on an error or keep going. If we keep going, // then we want our initial delay to be the expected time to completion - we don't have much @@ -251,7 +250,8 @@ inline fapi2::ReturnCode cal_timer_setup(const fapi2::Target& i_target, // Fudge some for sim irregularities. This will increase time to a complete timeout but won't // really effect valid training unless these cycles are needed. So this isn't a bad thing ... - i_poll.iv_poll_count *= 2; + // AKA watchdog timer + i_poll.iv_poll_count *= 10; FAPI_INF("cal abort on error? %s. tc: %luc, id: %luns(%lusc), d: %lu(%lusc), pc: %lu", (cal_abort_on_error ? "yup" : "nope"), l_total_cycles, i_poll.iv_initial_delay, -- cgit v1.2.1