Skip to content

Commit

Permalink
Update p9_query_cache_access_state to use the correct scom register
Browse files Browse the repository at this point in the history
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 <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Reviewed-by: CHRISTINA L. GRAVES <clgraves@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55821
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
crgeddes authored and sgupta2m committed Mar 14, 2018
1 parent b65fd5b commit 7808b4f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 7808b4f

Please sign in to comment.