Skip to content

Commit

Permalink
Add ec_abst ring to p9n.hw_image
Browse files Browse the repository at this point in the history
Change-Id: Ic6fc899956e0690f75224471917ff904aa03713e
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37768
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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Benjamin Gass <bgass@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37774
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>
  • Loading branch information
ibmthi authored and dcrowell77 committed Mar 10, 2017
1 parent f45f210 commit a16cab5
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
Expand Up @@ -2266,6 +2266,23 @@
</chipEcFeature>
</attribute>

<attribute>
<id>ATTR_CHIP_EC_FEATURE_NDD1_ABIST_PARALLEL</id>
<targetType>TARGET_TYPE_PROC_CHIP</targetType>
<description>
Nimbus DD1: set ABIST engines to PARALLEL mode.
</description>
<chipEcFeature>
<chip>
<name>ENUM_ATTR_NAME_NIMBUS</name>
<ec>
<value>0x20</value>
<test>LESS_THAN</test>
</ec>
</chip>
</chipEcFeature>
</attribute>

<!-- ******************************************************************** -->
<!-- Memory Section -->
<!-- ******************************************************************** -->
Expand Down
3 changes: 2 additions & 1 deletion src/import/chips/p9/utils/imageProcs/p9_ringId.C
Expand Up @@ -420,10 +420,11 @@ const GenRingIdList RING_ID_LIST_COMMON[] =
{ "ec_gptr" , 0x01, 0x20, 0x20, EKB_RING , 0x20037002},
{ "ec_time" , 0x02, 0x20, 0x20, VPD_RING , 0x20037007},
{ "ec_mode" , 0x03, 0x20, 0x20, EKB_RING , 0x20037001},
{ "ec_abst" , 0x04, 0x20, 0x20, EKB_RING , 0x20037005},
};
const GenRingIdList RING_ID_LIST_INSTANCE[] =
{
{ "ec_repr" , 0x04, 0x20, 0x37, VPD_RING , 0x20037006},
{ "ec_repr" , 0x05, 0x20, 0x37, VPD_RING , 0x20037006},
};
const RingVariantOrder RING_VARIANT_ORDER[] = { BASE, CC, RL };
};
Expand Down
7 changes: 6 additions & 1 deletion src/import/chips/p9/utils/imageProcs/p9_ringId.H
Expand Up @@ -779,6 +779,7 @@ enum RingOffset
eq_ana_mode = 45,
ex_l2_fure_1 = 46,
ex_l3_fure_1 = 47,

// Instance Rings
eq_repr = (0 | INSTANCE_RING_MARK),
ex_l3_repr = (1 | INSTANCE_RING_MARK),
Expand Down Expand Up @@ -812,14 +813,15 @@ enum RingOffset
ec_gptr = 1,
ec_time = 2,
ec_mode = 3,
ec_abst = 4,
// Instance Rings
ec_repr = (0 | INSTANCE_RING_MARK)
};

static const CHIPLET_DATA g_ecData =
{
32, // Core Chiplet ID range is 32-55. The base ID is 32.
4, // 4 common rings for Core chiplet
5, // 5 common rings for Core chiplet
1, // 1 instance specific ring for each Core chiplet
1
};
Expand Down Expand Up @@ -1079,6 +1081,8 @@ static const ringProperties_t RING_PROPERTIES[NUM_RING_IDS] =
{ EC::ec_repr , "ec_repr" , EC_TYPE }, // 228
{ EQ::ex_l2_fure_1 , "ex_l2_fure_1" , EQ_TYPE }, // 229
{ EQ::ex_l3_fure_1 , "ex_l3_fure_1" , EQ_TYPE }, // 230
{ EC::ec_abst , "ec_abst" , EC_TYPE }, // 231

};
#endif
#ifdef __PPE__
Expand Down Expand Up @@ -1315,6 +1319,7 @@ static const ringProperties_t RING_PROPERTIES[NUM_RING_IDS] =
{ EC::ec_repr , EC_TYPE }, // 228
{ EQ::ex_l2_fure_1 , EQ_TYPE }, // 229
{ EQ::ex_l3_fure_1 , EQ_TYPE }, // 230
{ EC::ec_abst , EC_TYPE }, // 231
};
#endif

Expand Down
6 changes: 5 additions & 1 deletion src/import/chips/p9/utils/imageProcs/p9_ring_id.h
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 @@ -324,6 +324,10 @@ enum RingID
ex_l2_fure_1 = 229,
ex_l3_fure_1 = 230,

// Core Chiplet Rings
// ABIST engine mode
ec_abst = 231,

//***************************
// Rings needed for SBE - End
//***************************
Expand Down

0 comments on commit a16cab5

Please sign in to comment.