summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2018-05-15 10:39:08 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-09-14 16:13:01 -0500
commit09ab06ca2d5640622c0d39ee34520b10db3a9072 (patch)
tree164e2a7910fb443994a1c3a523b927a88a4860a3 /src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
parent7bb1f127506943f90e153c7013fa026b42959069 (diff)
downloadtalos-hostboot-09ab06ca2d5640622c0d39ee34520b10db3a9072.tar.gz
talos-hostboot-09ab06ca2d5640622c0d39ee34520b10db3a9072.zip
UV Support : Augmented STOP API and self restore for enabling ultravisor.
HW-Image-Coreq: yes HW-Image-Prereq: Ia9ae0d284398af375f1562efff152a6a12a6eb9a Change-Id: I1f7ca865640dfc0a08aef783fd3595d2f249a672 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/58843 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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/59321 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C b/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
index 4431c8e01..67b1d1d8c 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_scan_ring_util.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016,2017 */
+/* Contributors Listed Below - COPYRIGHT 2016,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -776,7 +776,8 @@ P9FuncModel::P9FuncModel( ):
iv_funcExes(0),
iv_funcQuads(0),
iv_ddLevel(0),
- iv_chipName(0)
+ iv_chipName(0),
+ iv_urmorBug(0)
{ }
//-------------------------------------------------------------------------
@@ -801,11 +802,12 @@ P9FuncModel::P9FuncModel( const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP >& i_
FAPI_ATTR_GET_PRIVILEGED(fapi2::ATTR_EC, i_procTgt, iv_ddLevel);
FAPI_ATTR_GET_PRIVILEGED(fapi2::ATTR_NAME, i_procTgt, iv_chipName);
+ FAPI_ATTR_GET(fapi2::ATTR_CHIP_EC_FEATURE_HW403111, i_procTgt, iv_urmorBug);
FAPI_DBG("functional core : 0x%08x Ex : 0x%08x quad 0x%08x"
- "EC : 0x%02x ChipName : 0x%02x",
+ "EC : 0x%02x ChipName : 0x%02x URMOR Bug 0x%02x",
iv_funcCores, iv_funcExes, iv_funcQuads, iv_ddLevel,
- iv_chipName );
+ iv_chipName, iv_urmorBug );
}
//---------------------------------------------------------------------------
@@ -842,8 +844,18 @@ uint8_t P9FuncModel::getChipLevel() const
return iv_ddLevel;
}
+//-------------------------------------------------------------------------
uint8_t P9FuncModel::getChipName() const
{
return iv_chipName;
}
+
+//-------------------------------------------------------------------------
+uint8_t P9FuncModel::hasUrmorBug() const
+{
+ return iv_urmorBug;
+}
+
+//-------------------------------------------------------------------------
+
}
OpenPOWER on IntegriCloud