Skip to content

Commit

Permalink
Ported ecc engine to generic
Browse files Browse the repository at this point in the history
Change-Id: Icd8034fd8a0a58874bf79f72392cdc737c5af99e
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71828
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@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: Mark Pizzutillo <mark.pizzutillo@ibm.com>
Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81018
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
Matthickman14 authored and RAJA DAS committed Jul 25, 2019
1 parent 745d871 commit c4bf31c
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 1 deletion.
Expand Up @@ -84,7 +84,8 @@ enum sizes
MAX_PORT_PER_OCMB = 1,
MAX_DIMM_PER_PORT = 2,
MAX_RANK_PER_DIMM = 4,
MAX_BITS_PER_PORT = 80,
MAX_DQ_BITS_PER_PORT = 80,
MAX_SYMBOLS_PER_PORT = 72,
MAX_RANKS_DIMM1 = 2,
MAX_MRANK_PER_PORT = MAX_DIMM_PER_PORT * MAX_RANK_PER_DIMM,
};
Expand Down
12 changes: 12 additions & 0 deletions src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
Expand Up @@ -231,6 +231,18 @@ enum generic_ffdc_codes
POWER_LIMIT = 0x1072,
SLOPE = 0x1073,
INTERCEPT = 0x1074,

// Used in fw_mark_store.H for MSS_INVALID_RANK_PASSED
FWMS_READ = 30,
FWMS_WRITE = 31,

// Used in hw_mark_store.H for MSS_INVALID_RANK_PASSED
HWMS_READ = 40,
HWMS_WRITE = 41,

// MSS_INVALID_INDEX_PASSED
SYMBOL_COUNT_READ = 50,
SYMBOL_COUNT_WRITE = 51,
};

///
Expand Down
63 changes: 63 additions & 0 deletions src/import/generic/procedures/xml/error_info/generic_error.xml
Expand Up @@ -1062,4 +1062,67 @@
<ffdc>RANK</ffdc>
</hwpError>

<hwpError>
<rc>RC_MSS_INVALID_GALOIS_TO_SYMBOL</rc>
<description> An invalid galois code was found</description>
<ffdc>GALOIS</ffdc>
<callout>
<procedure>CODE</procedure>
<priority>HIGH</priority>
</callout>
</hwpError>

<hwpError>
<rc>RC_MSS_INVALID_SYMBOL_FOR_GALOIS</rc>
<description> An invalid symbol was passed to symbol_to_galois</description>
<ffdc>SYMBOL</ffdc>
<callout>
<procedure>CODE</procedure>
<priority>HIGH</priority>
</callout>
</hwpError>

<hwpError>
<rc>RC_MSS_INVALID_DQ_TO_SYMBOL</rc>
<description> An invalid DQ bit index received to map to Galois symbol</description>
<ffdc>DQ</ffdc>
<callout>
<procedure>CODE</procedure>
<priority>HIGH</priority>
</callout>
</hwpError>

<hwpError>
<rc>RC_MSS_INVALID_SYMBOL_TO_DQ</rc>
<description> An invalid symbol received to map to DQ bit index</description>
<ffdc>SYMBOL</ffdc>
<callout>
<procedure>CODE</procedure>
<priority>HIGH</priority>
</callout>
</hwpError>

<hwpError>
<rc>RC_MSS_INVALID_RANK_PASSED</rc>
<description> An invalid rank was passed to ecc::read function</description>
<ffdc>RANK</ffdc>
<ffdc>FUNCTION</ffdc>
<ffdc>TARGET</ffdc>
<callout>
<procedure>CODE</procedure>
<priority>HIGH</priority>
</callout>
</hwpError>

<hwpError>
<rc>RC_MSS_INVALID_INDEX_PASSED</rc>
<description> An invalid index was passed to MODAL_SYMBOL_COUNT function</description>
<ffdc>INDEX</ffdc>
<ffdc>FUNCTION</ffdc>
<callout>
<procedure>CODE</procedure>
<priority>HIGH</priority>
</callout>
</hwpError>

</hwpErrors>

0 comments on commit c4bf31c

Please sign in to comment.