Skip to content

Commit

Permalink
Moves sync code to generic folder
Browse files Browse the repository at this point in the history
Change-Id: I4f94a2abad3e3c3e08aa920dd4ff691a093421f7
Original-Change-Id: I440cdb0ea105a6dbdcd0ac26696308e55d56f88b
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65786
Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80965
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
sglancy6 authored and RAJA DAS committed Jul 25, 2019
1 parent 7e7b430 commit d51e3d1
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
Expand Up @@ -78,6 +78,11 @@ enum conversions
BITS_PER_BYTE = 8,
};

enum generic_sizes
{
NUM_MAX_FREQS = 5, ///< Used for ATTR_MAX_ALLOWED_DIMM_FREQ
};

///
/// @brief FFDC generic codes
///
Expand Down Expand Up @@ -118,16 +123,25 @@ enum generic_ffdc_codes
BAD_SPD_DATA = 0x101D,
SET_FIELD = 0x101E,

// mss_freq functions
SELECT_SUPPORTED_FREQ = 0x101F,
FREQ_SCOREBOARD_REMOVE_FREQS_ABOVE_LIMIT = 0x1020,
FREQ_SCOREBOARD_REMOVE_FREQS_ABOVE_LIMIT_VECTOR = 0x1021,
FREQ_SCOREBOARD_REMOVE_FREQS_NOT_ON_LIST = 0x1022,
FREQ_SCOREBOARD_MAX_SUPPORTED_FREQ = 0x1023,
FREQ_SCOREBOARD_SUPPORTED_FREQS = 0x1024,
LIMIT_FREQ_BY_VPD = 0x1025,
};

///
/// @brief Supported proc types
/// @note Processor types by system generation and sub numbering
///
enum proc_type
enum class proc_type
{
NIMBUS,
AXONE,
NIMBUS = 0x0900,
CUMULUS = 0x0901,
AXONE = 0x0902,
};

///
Expand Down
66 changes: 66 additions & 0 deletions src/import/generic/procedures/xml/error_info/generic_error.xml
Expand Up @@ -37,6 +37,25 @@

<hwpErrors>

<hwpError>
<rc>RC_MSS_BAD_FREQ_CALCULATED</rc>
<description>
No frequency found for MC Either bad mrw attribute or no DIMMS installed?
Should be a code bug if we get here
</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>
<callout>
<procedure>CODE</procedure>
<priority>HIGH</priority>
</callout>
</hwpError>

<hwpError>
<rc>RC_MSS_EMPTY_VECTOR</rc>
<description>
Expand Down Expand Up @@ -215,6 +234,17 @@
</callout>
</hwpError>

<hwpError>
<rc>RC_MSS_INVALID_PORT_INDEX_PASSED</rc>
<description>An invalid port index was passed into an MSS function</description>
<ffdc>INDEX</ffdc>
<ffdc>FUNCTION</ffdc>
<callout>
<procedure>CODE</procedure>
<priority>HIGH</priority>
</callout>
</hwpError>

<hwpError>
<rc>RC_MSS_INVALID_TIMING_VALUE</rc>
<description>Invalid value calculated for timing value based on MTB and FTB from SPD.</description>
Expand All @@ -232,4 +262,40 @@
</gard>
</hwpError>

<hwpError>
<rc>RC_MSS_LOOKUP_FAILED</rc>
<description>
Conditional that tests whether a certain key value is located in a map.
</description>
<ffdc>KEY</ffdc>
<ffdc>DATA</ffdc>
<ffdc>FUNCTION</ffdc>
<callout>
<target>TARGET</target>
<priority>MEDIUM</priority>
</callout>
<deconfigure>
<target>TARGET</target>
</deconfigure>
</hwpError>

<hwpError>
<rc>RC_MSS_PORT_DOES_NOT_SUPPORT_MAJORITY_FREQ</rc>
<description>
When considering the frequencies in the MRW and the max supported
frequencies based on DIMM config, the indicated port's DIMM do not support
the frequency of the majority of other ports' DIMM, so it will be deconfigured
</description>
<ffdc>FREQ_TARGET</ffdc>
<ffdc>PORT_TARGET</ffdc>
<ffdc>FREQUENCY</ffdc>
<callout>
<childTargets>
<parent>PORT_TARGET</parent>
<childType>TARGET_TYPE_DIMM</childType>
</childTargets>
<priority>MEDIUM</priority>
</callout>
</hwpError>

</hwpErrors>

0 comments on commit d51e3d1

Please sign in to comment.