summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_common_stopclocks.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_common_stopclocks.C b/src/import/chips/p9/procedures/hwp/perv/p9_common_stopclocks.C
index 6d72b8f0..e1d1bb32 100644
--- a/src/import/chips/p9/procedures/hwp/perv/p9_common_stopclocks.C
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_common_stopclocks.C
@@ -55,20 +55,20 @@ fapi2::ReturnCode p9_common_stopclocks_cplt_ctrl_action_function(
{
// Local variable and constant definition
fapi2::buffer <uint16_t> l_cplt_ctrl_init;
- fapi2::buffer<uint32_t> l_attr_pg;
+ fapi2::buffer<uint16_t> l_attr_pg;
fapi2::buffer<uint64_t> l_data64;
FAPI_INF("Entering p9_common_stopclocks_cplt_ctrl_action_function...");
FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_PG, i_target_chiplet, l_attr_pg));
l_attr_pg.invert();
- l_attr_pg.extractToRight<20, 11>(l_cplt_ctrl_init);
+ l_attr_pg.extractToRight<4, 11>(l_cplt_ctrl_init);
FAPI_DBG("Raise partial good fences");
//Setting CPLT_CTRL1 register value
l_data64.flush<0>();
l_data64.writeBit<PERV_1_CPLT_CTRL1_TC_VITL_REGION_FENCE>
- (l_attr_pg.getBit<19>()); //CPLT_CTRL1.TC_VITL_REGION_FENCE = l_attr_pg.getBit<19>()
+ (l_attr_pg.getBit<3>());
//CPLT_CTRL1.TC_ALL_REGIONS_FENCE = l_cplt_ctrl_init
l_data64.insertFromRight<4, 11>(l_cplt_ctrl_init);
FAPI_TRY(fapi2::putScom(i_target_chiplet, PERV_CPLT_CTRL1_OR, l_data64));
OpenPOWER on IntegriCloud