diff options
author | Louis Stermole <stermole@us.ibm.com> | 2019-01-24 13:36:56 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2019-04-15 12:11:18 -0500 |
commit | 2b26420e72477835ffeacb2dab9970266ef07566 (patch) | |
tree | 005fff430a99823e7d1fcd11bc66fb043f160c68 /src/import/generic/procedures | |
parent | 0d3c3c752b95d3ddc42d82bb2a66ea9ff4f0c6b1 (diff) | |
download | talos-hostboot-2b26420e72477835ffeacb2dab9970266ef07566.tar.gz talos-hostboot-2b26420e72477835ffeacb2dab9970266ef07566.zip |
Add p9a_mss_freq procedure
Change-Id: I764e1ade2f63cabb7f6e5cf2b39e89811ea432c4
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70989
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75567
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/generic/procedures')
3 files changed, 46 insertions, 13 deletions
diff --git a/src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml b/src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml index 864d871f4..8890a447b 100644 --- a/src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml +++ b/src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml @@ -5,7 +5,7 @@ <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> -<!-- Contributors Listed Below - COPYRIGHT 2018 --> +<!-- Contributors Listed Below - COPYRIGHT 2018,2019 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> @@ -103,6 +103,23 @@ </attribute> <attribute> + <id>ATTR_MEM_EFF_HOST_TO_DDR_SPEED_RATIO</id> + <targetType>TARGET_TYPE_MEM_PORT</targetType> + <description> + ARRAY[DIMM] + OMI to DDR frequency ratio + </description> + <initToZero></initToZero> + <valueType>uint8</valueType> + <enum> 1_TO_1 = 1, 2_TO_1 = 2, 4_TO_1 = 4, 8_TO_1 = 8, 16_TO_1 = 16, 32_TO_1 = 32, 64_TO_1 = 64, 128_TO_1 = 128</enum> + <default>8</default> + <writeable/> + <array>2</array> + <mssUnit>ratio</mssUnit> + <mssAccessorName>host_to_ddr_speed_ratio</mssAccessorName> + </attribute> + + <attribute> <id>ATTR_MEM_EFF_DRAM_DENSITY</id> <targetType>TARGET_TYPE_MEM_PORT</targetType> <description> diff --git a/src/import/generic/procedures/xml/attribute_info/generic_memory_mrw_attributes.xml b/src/import/generic/procedures/xml/attribute_info/generic_memory_mrw_attributes.xml index faf8a75fb..e55a14ce2 100644 --- a/src/import/generic/procedures/xml/attribute_info/generic_memory_mrw_attributes.xml +++ b/src/import/generic/procedures/xml/attribute_info/generic_memory_mrw_attributes.xml @@ -5,7 +5,7 @@ <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> -<!-- Contributors Listed Below - COPYRIGHT 2018 --> +<!-- Contributors Listed Below - COPYRIGHT 2018,2019 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> @@ -24,6 +24,28 @@ <!-- IBM_PROLOG_END_TAG --> <attributes> <attribute> + <id>ATTR_MSS_MRW_SUPPORTED_FREQ</id> + <targetType>TARGET_TYPE_SYSTEM</targetType> + <description> + List of memory frequencies supported by the current system. + </description> + <valueType>uint32</valueType> + <array>4</array> + <platInit/> + <!-- Note, mirrors ATTR_MSS_FREQ --> + <enum> + MT1866 = 1866, + MT2133 = 2133, + MT2400 = 2400, + MT2666 = 2666, + MT2933 = 2933, + MT3200 = 3200 + </enum> + <default> 1866, 2133, 2400, 2666, 2933, 3200 </default> + <mssUnit>MT/s</mssUnit> + </attribute> + + <attribute> <id>ATTR_MEM_MRW_IS_PLANAR</id> <targetType>TARGET_TYPE_OCMB_CHIP</targetType> <description> diff --git a/src/import/generic/procedures/xml/error_info/generic_error.xml b/src/import/generic/procedures/xml/error_info/generic_error.xml index aaa8edd2b..7b3f1e894 100644 --- a/src/import/generic/procedures/xml/error_info/generic_error.xml +++ b/src/import/generic/procedures/xml/error_info/generic_error.xml @@ -38,21 +38,15 @@ <hwpErrors> <hwpError> - <rc>RC_MSS_BAD_FREQ_CALCULATED</rc> + <rc>RC_MSS_DIVIDE_BY_ZERO</rc> <description> - No frequency found for MC Either bad mrw attribute or no DIMMS installed? - Should be a code bug if we get here + Attempt to divide by zero </description> - <ffdc>MSS_FREQ</ffdc> - <ffdc>SUPPORTED_FREQ_0</ffdc> - <ffdc>SUPPORTED_FREQ_1</ffdc> - <ffdc>SUPPORTED_FREQ_2</ffdc> - <ffdc>SUPPORTED_FREQ_3</ffdc> - <ffdc>TARGET</ffdc> - <ffdc>PROC_TYPE</ffdc> + <ffdc>DIVISOR</ffdc> + <ffdc>DIVIDEND</ffdc> <callout> <procedure>CODE</procedure> - <priority>HIGH</priority> + <priority>LOW</priority> </callout> </hwpError> |