summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C
diff options
context:
space:
mode:
authorSangeetha T S <sangeet2@in.ibm.com>2016-05-31 04:20:34 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-08-05 17:06:27 -0400
commit4ed38b0cd31059d77ade7af245ef82cb059071d5 (patch)
tree508f55cd0d507e7cc273bf6cf12b508e9733f1da /src/import/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C
parent31413e134f00703704bea8d541a8188efcf94405 (diff)
downloadtalos-hostboot-4ed38b0cd31059d77ade7af245ef82cb059071d5.tar.gz
talos-hostboot-4ed38b0cd31059d77ade7af245ef82cb059071d5.zip
p9_pm_init: Level 2: Implement functionality
> Transliteration from FAPI 1.0 to FAPI 2.0 > SUET Test > AWAN Test > Add fixes to p9_pm_corequad_init, p9_pm_pba_init & p9_pm_ocb_init Change-Id: I0e29d6aa40b5cee7d993f20ee83dcf69ca6b0aad RTC: 154516 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25348 Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25351 Reviewed-by: Stephen M. Cprek <smcprek@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/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C b/src/import/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C
index cd8908218..8811b10e0 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C
@@ -94,7 +94,7 @@ const uint8_t DOORBELLS_COUNT = 4;
// Reset function
///
/// @brief Stop the CMEs and clear the CME FIRs, PPM Errors and their masks
-/// for all functional and enabled EX chiplets
+// for all functional and enabled EX chiplets
///
/// @param[in] i_target Proc Chip target
/// @param[in] i_cmeFirMask Mask value for CME FIR
@@ -217,7 +217,7 @@ fapi2::ReturnCode pm_corequad_init(
FAPI_TRY(fapi2::putScom(l_quad_chplt, l_address, l_data64),
"ERROR: Failed to reset CME Flags");
- auto l_exChiplets = i_target.getChildren<fapi2::TARGET_TYPE_EX>
+ auto l_exChiplets = l_quad_chplt.getChildren<fapi2::TARGET_TYPE_EX>
(fapi2::TARGET_STATE_FUNCTIONAL);
// For each functional EX chiplet
@@ -260,7 +260,7 @@ fapi2::ReturnCode pm_corequad_init(
l_firMask),
"ERROR: Failed to get local FIR Mask");
l_data64.flush<0>().insertFromRight<0, 32>(l_firMask);
- l_address = EX_CME_SCOM_LFIRMASK_OR;
+ l_address = EX_CME_SCOM_LFIRMASK;
FAPI_TRY(fapi2::putScom(l_ex_chplt, l_address, l_data64),
"ERROR: Failed to restore the CME Local FIR");
@@ -415,7 +415,7 @@ fapi2::ReturnCode pm_corequad_reset(
// Write parameter provided value to CME FIR MASK
FAPI_INF(" Write Local CME FIR MASK ");
l_data64.flush<0>().insertFromRight<0, 32>(i_cmeFirMask);
- l_address = EX_CME_SCOM_LFIRMASK_OR;
+ l_address = EX_CME_SCOM_LFIRMASK;
FAPI_TRY(fapi2::putScom(l_ex_chplt, l_address, l_data64),
"ERROR: Failed to clear the Local CME FIR Mask");
OpenPOWER on IntegriCloud