From 7808b4fe065e7369386e204fbb5dc9083a2f3b1c Mon Sep 17 00:00:00 2001 From: crgeddes Date: Tue, 21 Feb 2017 21:02:30 -0600 Subject: Update p9_query_cache_access_state to use the correct scom register Found a bug in this HWP. It was using the Core scom address to scom the EQ target. The PPE putScom code must be smart enough to translate but the hostboot code was not so I had to fix this Change-Id: I4ea3991d8b36219b127299c38413bce0df7d101f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36829 Tested-by: Jenkins Server Reviewed-by: RAJA DAS Reviewed-by: CHRISTINA L. GRAVES Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55821 Reviewed-by: Sachin Gupta --- src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/import/chips/p9/procedures') diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C b/src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C index 436fa9b8..6812fde0 100644 --- a/src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C +++ b/src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C @@ -92,11 +92,11 @@ p9_query_cache_access_state( if (l_execution_platform == 0x02) { - l_stop_state_reg = C_PPM_SSHFSP; + l_stop_state_reg = EQ_PPM_SSHFSP; } else { - l_stop_state_reg = C_PPM_SSHHYP; + l_stop_state_reg = EQ_PPM_SSHHYP; } FAPI_TRY(fapi2::getScom(i_target, l_stop_state_reg, l_qsshsrc), "Error reading data from QPPM SSHSRC"); -- cgit v1.2.1