Skip to content

Commit

Permalink
Add p9a_mss_freq procedure
Browse files Browse the repository at this point in the history
Change-Id: I0736c7116e7ef00d87b7b458be18afe482a34ed5
Original-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>
  • Loading branch information
stermole authored and Raja Das committed Jul 26, 2019
1 parent c257cb5 commit 55554d3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
16 changes: 13 additions & 3 deletions src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
Expand Up @@ -136,9 +136,11 @@ enum generic_ffdc_codes
LIMIT_FREQ_BY_VPD = 0x1025,
SET_DIMM_TYPE = 0x1026,
SET_DRAM_GEN = 0x1027,
SET_HYBRID = 0x1027,
SET_HYBRID_MEDIA = 0x1028,
SET_MRANKS = 0x1029,
SET_HYBRID = 0x1028,
SET_HYBRID_MEDIA = 0x1029,
SET_MRANKS = 0x102A,
SET_HOST_TO_DDR_SPEED_RATIO = 0x102B,
SET_ATTR_HOST_TO_DDR_SPEED_RATIO = 0x102C,
SET_DIMM_RANKS_CNFG = 0x1039,
DDIMM_RAWCARD_DECODE = 0x103a,
SET_DRAM_WIDTH = 0x1040,
Expand Down Expand Up @@ -240,6 +242,14 @@ enum states
NO_CHIP_SELECT_ACTIVE = 0xFF,
};

///
/// @brief Supported DIMM speed equality deliberations
///
enum class speed_equality : uint8_t
{
NOT_EQUAL_DIMM_SPEEDS = 0, ///< denotes all DIMMs don't have the same speed
EQUAL_DIMM_SPEEDS = 1, ///< denotes all DIMMs have the same speed
};

namespace spd
{
Expand Down
16 changes: 5 additions & 11 deletions src/import/generic/procedures/xml/error_info/generic_error.xml
Expand Up @@ -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>

Expand Down

0 comments on commit 55554d3

Please sign in to comment.