diff options
| author | Yue Du <daviddu@us.ibm.com> | 2017-01-04 15:32:10 -0600 |
|---|---|---|
| committer | hostboot <hostboot@us.ibm.com> | 2018-08-22 17:54:21 -0500 |
| commit | 1cacd2e47afbc55f3c80fd8713e45f6be0463e40 (patch) | |
| tree | 4129102da67bebc61b38e8f1065621d09dcfffb6 | |
| parent | c47b00594dd0ed5403684628112696d900136246 (diff) | |
| download | talos-hcode-1cacd2e47afbc55f3c80fd8713e45f6be0463e40.tar.gz talos-hcode-1cacd2e47afbc55f3c80fd8713e45f6be0463e40.zip | |
STOP: prevent ppe wait cycle being compiled out by compiler
Change-Id: I1a34cfa9e8292e0ca180a30ce2b44b6bd9751cb5
Original-Change-Id: Ib9472733f828b557d4799ddb9fb00975ce004d9e
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34378
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
| -rwxr-xr-x | import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c | 3 | ||||
| -rw-r--r-- | import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c index c1a04262..095d1994 100755 --- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c +++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c @@ -63,7 +63,6 @@ p9_cme_stop_entry() uint32_t core_stop1 = 0; uint32_t core_raw = 0; uint32_t core; - uint32_t loop; uint32_t pm_states; uint32_t lclr_data; uint64_t scom_data; @@ -352,7 +351,7 @@ p9_cme_stop_entry() // Waits quiesce done for at least 512 core cycles // MF: verify generate FCB otherwise math is wrong. - PPE_WAIT_CORE_CYCLES(loop, 512) + PPE_WAIT_CORE_CYCLES(512) PK_TRACE_INF("SE2.B: Interfaces Quiesced"); diff --git a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c index 1b39f055..e62323af 100644 --- a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c +++ b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c @@ -77,7 +77,6 @@ p9_sgpe_stop_entry() uint32_t climit; uint32_t xentry; uint32_t qentry; - uint32_t loop; uint64_t scom_data; uint64_t temp_data; uint64_t host_attn; @@ -364,7 +363,7 @@ p9_sgpe_stop_entry() GPE_PUTSCOM(GPE_SCOM_ADDR_EX(EX_PM_L2_RCMD_DIS_REG, qloop, 1), BIT64(0)); - PPE_WAIT_CORE_CYCLES(loop, 256) + PPE_WAIT_CORE_CYCLES(256) PK_TRACE("Assert partial bad L2/L3 and stopping/stoped l2 pscom masks via RING_FENCE_MASK_LATCH"); scom_data = 0; |

