summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-08-24 12:53:20 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-09-26 11:17:21 -0400
commit56249539651bcb950d0710caf00674e6f99344c9 (patch)
treeaa035e00a83877325356f69a7e6ee3d9b66a3cd1 /src/include/usr/hwas
parent2ca97f1fd9776aba2e82bc786953c07cc12c0133 (diff)
downloadtalos-hostboot-56249539651bcb950d0710caf00674e6f99344c9.tar.gz
talos-hostboot-56249539651bcb950d0710caf00674e6f99344c9.zip
Remove core reduction based on PR field
The PR field that specifies the number of cores to enable in a given FRU has been removed for P9. Instead, the PG keyword in the module vpd will be the only indicator of the good cores. Change-Id: Ib22a5779b6beba7a4da19659f7c003a8fffb0855 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29339 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas')
-rw-r--r--src/include/usr/hwas/common/hwasCommon.H19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/include/usr/hwas/common/hwasCommon.H b/src/include/usr/hwas/common/hwasCommon.H
index 4dde4d47f..f381beb5a 100644
--- a/src/include/usr/hwas/common/hwasCommon.H
+++ b/src/include/usr/hwas/common/hwasCommon.H
@@ -239,6 +239,7 @@ bool isDescFunctional(const TARGETING::TargetHandle_t &i_desc,
/**
+ * @deprecated
* @brief platform specific code to determine the PR vector of the input
* target. The platform specific code is responsible for returning the
* vector. The caller is responsible for allocating and de-allocating the
@@ -256,23 +257,7 @@ errlHndl_t platReadPR(const TARGETING::TargetHandle_t &i_target,
void *o_prData);
// constants the platReadPR will use for looking at the VPD data
-const uint32_t VPD_VINI_PR_DATA_LENGTH = 8;
-
-// Byte 2 Number of processors per module chip
-const uint32_t VPD_VINI_PR_B2_MASK = 0xF0; // bits 0-3
-const uint32_t VPD_VINI_PR_B2_SHIFT = 4;
-// Byte 7 Max VPD copies (aka replication factor)
-// Bits 2:7
-// Number of chips using this VPD minus 1, i.e., Used to
-// calculate the maximum number of duplicate copies of the B9
-// keyword allowed. Multiply PR byte 2 (number of processor
-// per module) times this value [(PR byte 7) + 1] to get the max
-// number of copies of any given B9 keyword data in the SPIRA
-// PACA structure.
-// If the number of functional processors is different on chips
-// within the same module. It will be firmwares responsibility
-// average them out as specified in byte 2 above.
-const uint32_t VPD_VINI_PR_B7_MASK = 0x3F; // bits 2-7
+const uint32_t VPD_VINI_PR_DATA_LENGTH = 8; //@deprecrated
/**
* @brief platform specific code to read the Field Core Override
OpenPOWER on IntegriCloud