summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre A. Marin <aamarin@us.ibm.com>2019-04-15 14:41:46 -0500
committerRAJA DAS <rajadas2@in.ibm.com>2019-07-25 08:42:44 -0500
commit20805cd4ee40d72a84f0512b5d5791a4ea76118c (patch)
tree37893f1d33563e08749b6a1a3e09f0fc2ef85ecd
parente1257e444edee8bd512d4aa376330449eb3dfcf7 (diff)
downloadtalos-sbe-20805cd4ee40d72a84f0512b5d5791a4ea76118c.tar.gz
talos-sbe-20805cd4ee40d72a84f0512b5d5791a4ea76118c.zip
Add mem_size and misc attrs, unit tests enable
Consulting w/PRD (Zane), ATTR_EFF_DIMM_RANK_CONFIGED is not required to be initialized early in the ipl flow. So we move it from pre_eff_config to eff_config. Added attr_derived_engine to set attrs derived from other attrs or hardcodes. Updated unit tests. Added attrs not set in exp_draminit implementation of eff_config Change-Id: I0bb5e1913160d2cd0224cbb8566b7548eabe46d4 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75440 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com> Dev-Ready: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81000 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: RAJA DAS <rajadas2@in.ibm.com>
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H5
-rw-r--r--src/import/generic/memory/lib/utils/shared/mss_generic_consts.H6
2 files changed, 10 insertions, 1 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H
index c94d24d7..5f089691 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H
@@ -50,7 +50,10 @@ constexpr uint32_t OCMB_ADDR_SHIFT = 3;
#ifndef __PPE__
///
-/// @brief enum list of explorer eff attributes to set
+/// @brief enum list of explorer SPD derived attributes to set
+/// @note these attrs are strictly derived from SPD
+/// @warning wrapped in exp namesapce to be distinguished from
+/// the generic attr_eff_engine_fields
///
enum attr_eff_engine_fields
{
diff --git a/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H b/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
index 4bd2ceac..2d06bcb1 100644
--- a/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
+++ b/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
@@ -206,6 +206,12 @@ enum generic_ffdc_codes
SET_DRAM_GEN_METADATA = 0x1063,
SET_DIMM_TYPE_METADATA = 0x1064,
SET_DIMM_POS_METADATA = 0x1065,
+ SET_LOGICAL_RANKS = 0x1066,
+ SET_PRIM_STACK_TYPE = 0x1067,
+ SET_DIMM_SIZE = 0x1068,
+ SET_PRIM_BUS_WIDTH = 0x1069,
+ SET_PRIM_DIE_COUNT = 0x1070,
+ SET_DRAM_DENSITY = 0x1071,
};
///
OpenPOWER on IntegriCloud