diff options
author | Chris Cain <cjcain@us.ibm.com> | 2017-04-27 19:12:54 -0500 |
---|---|---|
committer | Christopher J. Cain <cjcain@us.ibm.com> | 2017-04-28 15:49:55 -0400 |
commit | 43b9907f1a84be57f678de6f496c3f7d05c0c40b (patch) | |
tree | 61156b671ec757981331bd7f96cdd329b8336d4f /src/occ_405/pss | |
parent | eb9cdf57261295ee7c4c745acce6e15653bfa857 (diff) | |
download | talos-occ-43b9907f1a84be57f678de6f496c3f7d05c0c40b.tar.gz talos-occ-43b9907f1a84be57f678de6f496c3f7d05c0c40b.zip |
Add PBAX queue error handling and throttle of APSS failure traces
Change-Id: I3ee189b1088ff48ab9743233c1a05072730699b9
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39790
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Diffstat (limited to 'src/occ_405/pss')
-rwxr-xr-x | src/occ_405/pss/apss.c | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/src/occ_405/pss/apss.c b/src/occ_405/pss/apss.c index 0896184..83eff11 100755 --- a/src/occ_405/pss/apss.c +++ b/src/occ_405/pss/apss.c @@ -228,7 +228,6 @@ void task_apss_start_pwr_meas(struct task *i_self) { int l_rc = 0; static bool L_scheduled = FALSE; - static bool L_idle_traced = FALSE; static bool L_ffdc_collected = FALSE; // Create/schedule GPE_start_pwr_meas_read (non-blocking) @@ -238,17 +237,9 @@ void task_apss_start_pwr_meas(struct task *i_self) { if (!async_request_is_idle(&G_meas_start_request.request)) { - if (!L_idle_traced) - { - INTR_TRAC_INFO("E>task_apss_start_pwr_meas: request is not idle."); - L_idle_traced = TRUE; - } + INTR_TRAC_INFO("E>task_apss_start_pwr_meas: request is not idle."); break; } - else - { - L_idle_traced = FALSE; - } // Check if we need to try recovering the apss if(G_apss_recovery_requested) @@ -404,7 +395,6 @@ void task_apss_continue_pwr_meas(struct task *i_self) { int l_rc = 0; static bool L_scheduled = FALSE; - static bool L_idle_traced = FALSE; static bool L_ffdc_collected = FALSE; // Create/schedule GPE_apss_continue_pwr_meas_read (non-blocking) @@ -414,17 +404,9 @@ void task_apss_continue_pwr_meas(struct task *i_self) { if (!async_request_is_idle(&G_meas_cont_request.request)) { - if (!L_idle_traced) - { - INTR_TRAC_INFO("E>task_apss_continue_pwr_meas: request is not idle."); - L_idle_traced = TRUE; - } + INTR_TRAC_INFO("E>task_apss_continue_pwr_meas: request is not idle."); break; } - else - { - L_idle_traced = FALSE; - } //Don't run anything if apss recovery is in progress if(G_apss_recovery_requested) @@ -643,7 +625,6 @@ void task_apss_complete_pwr_meas(struct task *i_self) { int l_rc = 0; static bool L_scheduled = FALSE; - static bool L_idle_traced = FALSE; static bool L_ffdc_collected = FALSE; // Create/schedule GPE_apss_complete_pwr_meas_read (non-blocking) @@ -653,17 +634,9 @@ void task_apss_complete_pwr_meas(struct task *i_self) { if (!async_request_is_idle(&G_meas_complete_request.request)) { - if (!L_idle_traced) - { - INTR_TRAC_INFO("E>task_apss_complete_pwr_meas: request is not idle."); - L_idle_traced = TRUE; - } + INTR_TRAC_INFO("E>task_apss_complete_pwr_meas: request is not idle."); break; } - else - { - L_idle_traced = FALSE; - } if(G_apss_recovery_requested) { // Allow apss measurement to proceed on next tick |