summaryrefslogtreecommitdiffstats
path: root/src/import/chips
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips')
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_setup_sbe_config.C12
-rwxr-xr-xsrc/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml12
2 files changed, 18 insertions, 6 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_setup_sbe_config.C b/src/import/chips/p9/procedures/hwp/perv/p9_setup_sbe_config.C
index 02efe855d..636f345be 100644
--- a/src/import/chips/p9/procedures/hwp/perv/p9_setup_sbe_config.C
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_setup_sbe_config.C
@@ -107,8 +107,8 @@ enum P9_SETUP_SBE_CONFIG_Private_Constants
ATTR_PROC_FABRIC_GROUP_ID_LENGTH = 3,
ATTR_PROC_FABRIC_CHIP_ID_STARTBIT = 29,
ATTR_PROC_FABRIC_CHIP_ID_LENGTH = 3,
- ATTR_PROC_CHIP_MEM_TO_USE_STARTBIT = 1,
- ATTR_PROC_CHIP_MEM_TO_USE_LENGTH = 6,
+ ATTR_PROC_MEM_TO_USE_STARTBIT = 1,
+ ATTR_PROC_MEM_TO_USE_LENGTH = 6,
};
@@ -591,13 +591,13 @@ fapi2::ReturnCode p9_setup_sbe_config(const
l_read_scratch_reg.insertFromRight< ATTR_PROC_EFF_FABRIC_CHIP_ID_STARTBIT, ATTR_PROC_EFF_FABRIC_CHIP_ID_LENGTH >
(l_read_2);
- FAPI_DBG("Reading ATTR_PROC_CHIP_MEM_TO_USE");
- FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_PROC_CHIP_MEM_TO_USE, i_target_chip, l_proc_chip_mem_to_use));
+ FAPI_DBG("Reading ATTR_PROC_MEM_TO_USE");
+ FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_PROC_MEM_TO_USE, i_target_chip, l_proc_chip_mem_to_use));
l_read_scratch_reg.setBit<0>();
// set which proc memory to use
- l_read_scratch_reg.insertFromRight<ATTR_PROC_CHIP_MEM_TO_USE_STARTBIT,
- ATTR_PROC_CHIP_MEM_TO_USE_LENGTH>(l_proc_chip_mem_to_use);
+ l_read_scratch_reg.insertFromRight<ATTR_PROC_MEM_TO_USE_STARTBIT,
+ ATTR_PROC_MEM_TO_USE_LENGTH>(l_proc_chip_mem_to_use);
FAPI_DBG("Setting up value of Scratch_reg6");
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml
index d7bd01439..8887d260e 100755
--- a/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml
+++ b/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml
@@ -754,6 +754,18 @@
<attribute>
<id>ATTR_PROC_CHIP_MEM_TO_USE</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>This attribute denotes where our master proc's memory is
+ located. In the case that the master-proc does not have usable memory,
+ we are going to use another proc's memory to boot. The attribute will be
+ set to the chip and group ID of which proc we want to use.</description>
+ <valueType>uint8</valueType>
+ <persistRuntime/>
+ <platInit/>
+</attribute>
+
+<attribute>
+ <id>ATTR_PROC_MEM_TO_USE</id>
<targetType>TARGET_TYPE_PROC_CHIP</targetType>
<description>This attribute denotes where our master proc's memory is
located. In the case that the master-proc does not have usable memory,
OpenPOWER on IntegriCloud