diff options
author | Soma BhanuTej <soma.bhanu@in.ibm.com> | 2016-10-12 02:15:04 -0400 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-10-12 11:46:59 -0400 |
commit | 4cfa35a6d33c035335193b22a7408018ed449576 (patch) | |
tree | 838630d3e23efe9d5bc5f7f1eec8dcec4d904a25 /src/import | |
parent | aad7717d64168c7c9a958b8172fe5e5bc9fbbddf (diff) | |
download | talos-hostboot-4cfa35a6d33c035335193b22a7408018ed449576.tar.gz talos-hostboot-4cfa35a6d33c035335193b22a7408018ed449576.zip |
Fixing IAR address to get 32 bits of data - p9_extract_sbe_rc
Change-Id: Id80c8544ac4b19aa7c09ddc6f588a36b6ff0a66b
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31042
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Sandeep Korrapati <sakorrap@in.ibm.com>
Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com>
Reviewed-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31044
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C b/src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C index 95e22bc92..464b0f49b 100644 --- a/src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C +++ b/src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.C @@ -125,7 +125,8 @@ fapi2::ReturnCode p9_extract_sbe_rc(const fapi2::Target<fapi2::TARGET_TYPE_PROC_ // XSR and IAR FAPI_DBG("p9_extract_sbe_rc : Reading PPE_XIDBGPRO"); FAPI_TRY(getScom(i_target_chip, PU_PPE_XIDBGPRO, l_data64_dbgpro)); - l_data64_dbgpro.extractToRight(l_data32_iar, PU_PPE_XIDBGPRO_IAR, PU_PPE_XIDBGPRO_IAR_LEN); + l_data64_dbgpro.extractToRight(l_data32_iar, PU_PPE_XIDBGPRO_IAR, + (PU_PPE_XIDBGPRO_IAR_LEN + 2)); //To get 32 bits of address FAPI_DBG("p9_extract_sbe_rc : PPE_XIDBGPRO : %#018lX", l_data64_dbgpro); FAPI_DBG("p9_extract_sbe_rc : SBE IAR : %#08lX", l_data32_iar); |