Skip to content

Commit

Permalink
Add Axone targets to fapi error utilities
Browse files Browse the repository at this point in the history
Added a few constants and case statements to cover the Axone
targets in the convertSbeTargInstanceToFapiPos path.

Change-Id: I38937f37bec051f279f837c48a7e5ce013bb23d8
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68071
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68079
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
dcrowell77 authored and sgupta2m committed Nov 13, 2018
1 parent baa6ab8 commit 41ac7c1
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions src/import/hwpf/fapi2/include/error_info_defs.H
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,23 @@ enum ErrorInfoType
// @brief used when translating the SBE targets instance into a fapi pos.
enum maxTargetsPerProc : uint16_t
{
MAX_MCBIST_PER_PROC = 2,
MAX_MC_PER_PROC = 2,
MAX_MI_PER_PROC = 4,
MAX_MCS_PER_PROC = 4,
MAX_EQ_PER_PROC = 6,
MAX_MCA_PER_PROC = 8,
MAX_PHB_PER_PROC = 6,
MAX_EX_PER_PROC = 12,
MAX_CORE_PER_PROC = 24,
MAX_PERV_PER_PROC = 56,
MAX_MCBIST_PER_PROC = 2, //Nimbus
MAX_MC_PER_PROC = 2, //Cumulus,Axone
MAX_MI_PER_PROC = 4, //Cumulus,Axone
MAX_MCS_PER_PROC = 4, //Nimbus
MAX_EQ_PER_PROC = 6, //Nimbus,Cumulus,Axone
MAX_MCA_PER_PROC = 8, //Nimbus
MAX_PHB_PER_PROC = 6, //Nimbus,Cumulus,Axone
MAX_EX_PER_PROC = 12, //Nimbus,Cumulus,Axone
MAX_CORE_PER_PROC = 24, //Nimbus,Cumulus,Axone
MAX_PERV_PER_PROC = 56, //Nimbus,Cumulus,Axone
MAX_OBUS_PER_PROC = 4, //Nimbus,Cumulus,Axone
MAX_PEC_PER_PROC = 3, //Nimbus,Cumulus,Axone
MAX_OMI_PER_PROC = 16, //Axone
MAX_OMIC_PER_PROC = 6, //Axone
MAX_MCC_PER_PROC = 8, //Axone
MAX_OCMB_CHIP_PER_PROC = MAX_OMI_PER_PROC, //Axone

INVALID_TARGET_COUNT = 0xFFFF,
INVALID_FAPI_POS = INVALID_TARGET_COUNT,
};
Expand Down

0 comments on commit 41ac7c1

Please sign in to comment.