summaryrefslogtreecommitdiffstats
path: root/sbe
diff options
context:
space:
mode:
authorRaja Das <rajadas2@in.ibm.com>2016-06-13 04:08:36 -0500
committerAMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>2016-06-13 06:31:19 -0400
commit700cc43c51a84f302fcffbd327caff9c87d946ca (patch)
treec77c2ddf32fc92d013186b1e710f24626b5bac38 /sbe
parenta12adc93d57ab5f7e74fecd47594a1cc8cd2113b (diff)
downloadtalos-sbe-700cc43c51a84f302fcffbd327caff9c87d946ca.tar.gz
talos-sbe-700cc43c51a84f302fcffbd327caff9c87d946ca.zip
Check on Functional Core before Calling Hwp Control Ins
Change-Id: I97906cc67e5544be26e0fda3a6a29feeb00e99c5 CQ: SW353108 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25704 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'sbe')
-rw-r--r--sbe/sbefw/sbecmdcntlinst.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbe/sbefw/sbecmdcntlinst.C b/sbe/sbefw/sbecmdcntlinst.C
index 11fd374a..824d3e08 100644
--- a/sbe/sbefw/sbecmdcntlinst.C
+++ b/sbe/sbefw/sbecmdcntlinst.C
@@ -110,6 +110,10 @@ uint32_t sbeCntlInst(uint8_t *i_pArg)
{
fapi2::Target<fapi2::TARGET_TYPE_CORE> l_coreTgt(
plat_getTargetHandleByChipletNumber(l_core));
+ if(!l_coreTgt.isFunctional())
+ {
+ continue;
+ }
uint8_t l_thread = l_threadCnt;
do
OpenPOWER on IntegriCloud