Skip to content

Commit

Permalink
Adding in a comment to p9_tod_move_tod_to_tb to explain that 0x20 is
Browse files Browse the repository at this point in the history
the base chiplet number for all cores

Change-Id: Ibe42b3418724a129ca3bc87b7ececce302e2f17d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34095
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34098
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
CHRISTINA L. GRAVES authored and dcrowell77 committed Jan 27, 2017
1 parent 79dd17b commit 5140f2d
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2016 */
/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -169,6 +169,7 @@ extern "C"
//Write TOD_MOVE_TOD_TO_TB_REG(@0x17)[00]=b'1'(move TOD to Timebase). The TOD transfers the TOD value to the Timebase after a SYNC boundary occurred. Note that TOD_TX_TTYPE_CTRL_REG(@0x27)[24:31] needs to be configured before issuing a TOD transfer to Timebase.The address of the PIB slave targeted by the TOD PIB master is configured as 0xNN0126a1 where NN is the configurable slave address specified in TOD_TX_TTYPE_CTRL_REG(@0x27)[24:31].
data.flush<0>();
FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_CHIP_UNIT_POS, coreTarget, l_core_id));
//0x20 is the "base" chiplet number for all the cores that's why we add it to the core id
l_core_id = l_core_id + 0x20;
data.insertFromRight(l_core_id, 0, 8);

Expand Down

0 comments on commit 5140f2d

Please sign in to comment.