diff options
author | Anusha Reddy Rangareddygari <anusrang@in.ibm.com> | 2016-01-08 12:46:45 +0100 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-01-27 23:39:30 -0600 |
commit | 0b19c18e66184e0b2ad53a83402f4eb0f0106ad6 (patch) | |
tree | 31e88cbdb6921bba5b8f82cc499072393e0a51ee /import/chips/p9/procedures | |
parent | c11134ecf00d4db6808207908abd3273e0e67197 (diff) | |
download | talos-sbe-0b19c18e66184e0b2ad53a83402f4eb0f0106ad6.tar.gz talos-sbe-0b19c18e66184e0b2ad53a83402f4eb0f0106ad6.zip |
Level 2 HWP for p9_sbe_startclock_chiplets
Updated according to the comments
of Joseph j McGill
Change-Id: Idadc8f51d68e2466a860020102927177a7a1f0bb
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23129
Tested-by: Jenkins Server
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com>
Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23715
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import/chips/p9/procedures')
-rw-r--r-- | import/chips/p9/procedures/hwp/perv/p9_sbe_startclock_chiplets.C | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/import/chips/p9/procedures/hwp/perv/p9_sbe_startclock_chiplets.C b/import/chips/p9/procedures/hwp/perv/p9_sbe_startclock_chiplets.C index 915237b7..a1485248 100644 --- a/import/chips/p9/procedures/hwp/perv/p9_sbe_startclock_chiplets.C +++ b/import/chips/p9/procedures/hwp/perv/p9_sbe_startclock_chiplets.C @@ -42,8 +42,6 @@ enum P9_SBE_STARTCLOCK_CHIPLETS_Private_Constants { DONT_STARTMASTER = 0x0, DONT_STARTSLAVE = 0x0, - STARTMASTER = 0x1, - STARTSLAVE = 0x1, CLOCK_CMD = 0x1, CLOCK_TYPES = 0x7, REGIONS_ALL_EXCEPT_VITAL_NESTPLL = 0x7FE @@ -77,16 +75,15 @@ fapi2::ReturnCode p9_sbe_startclock_chiplets(const || l_attr_chip_unit_pos == 0x0C/* ObusChiplet */) || (l_attr_chip_unit_pos == 0x0D || l_attr_chip_unit_pos == 0x0E || l_attr_chip_unit_pos == 0x0F/* PcieChiplet */) || - (l_attr_chip_unit_pos == 0x06/* XbusChiplet */) - )) + (l_attr_chip_unit_pos == 0x06/* XbusChiplet */))) { continue; } - FAPI_INF("Call proc_sbe_nest_startclocks_cplt_ctrl_action_function for xbus, obus, pcie chiplets"); + FAPI_INF("Call p9_sbe_startclock_chiplets_cplt_ctrl_action_function for xbus, obus, pcie chiplets"); FAPI_TRY(p9_sbe_startclock_chiplets_cplt_ctrl_action_function(l_trgt_chplt)); - FAPI_INF("call sync config module for xbus, obus, pcie chiplets"); + FAPI_INF("Disable listen to sync for all non-master/slave chiplets"); FAPI_TRY(p9_sbe_startclock_chiplets_sync_config(l_trgt_chplt)); FAPI_INF("call module align chiplets for xbus, obus, pcie chiplets"); @@ -97,7 +94,7 @@ fapi2::ReturnCode p9_sbe_startclock_chiplets(const DONT_STARTSLAVE, DONT_STARTMASTER, REGIONS_ALL_EXCEPT_VITAL_NESTPLL, CLOCK_TYPES)); - FAPI_INF("call sbe_nest_startclocks_check_checkstop_function for xbus, obus, pcie chiplets"); + FAPI_INF("call sbe_startclock_chiplets_check_checkstop_function for xbus, obus, pcie chiplets"); FAPI_TRY(p9_sbe_startclock_chiplets_check_checkstop_function(l_trgt_chplt)); } @@ -171,6 +168,7 @@ static fapi2::ReturnCode p9_sbe_startclock_chiplets_cplt_ctrl_action_function( // Not needed as have only nest chiplet (no dual clock controller) Bit 62 ->0 // + FAPI_INF("Drop partial good fences"); //Setting CPLT_CTRL1 register value l_data64.flush<0>(); l_data64.writeBit<PERV_1_CPLT_CTRL1_TC_VITL_REGION_FENCE> @@ -202,9 +200,9 @@ static fapi2::ReturnCode p9_sbe_startclock_chiplets_cplt_ctrl_action_function( FAPI_INF("reset abistclk_muxsel and syncclk_muxsel"); //Setting CPLT_CTRL0 register value l_data64.flush<0>(); - //CPLT_CTRL0.CTRL_CC_ABSTCLK_MUXSEL_DC = 1 + //CPLT_CTRL0.CTRL_CC_ABSTCLK_MUXSEL_DC = 0 l_data64.setBit<PERV_1_CPLT_CTRL0_CTRL_CC_ABSTCLK_MUXSEL_DC>(); - //CPLT_CTRL0.TC_UNIT_SYNCCLK_MUXSEL_DC = 1 + //CPLT_CTRL0.TC_UNIT_SYNCCLK_MUXSEL_DC = 0 l_data64.setBit<PERV_1_CPLT_CTRL0_TC_UNIT_SYNCCLK_MUXSEL_DC>(); FAPI_TRY(fapi2::putScom(i_target_chiplet, PERV_CPLT_CTRL0_CLEAR, l_data64)); |