diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-05-11 09:05:57 -0500 |
---|---|---|
committer | Prachi Gupta <pragupta@us.ibm.com> | 2016-06-08 11:45:59 -0500 |
commit | fd6f20c9d9ba64ce347eb22d928db2dc6165be0a (patch) | |
tree | 257abc5d0cf1184ec6dd288554aa7408ab9c2ada /sbe | |
parent | 624620ae337c39f67a29fe2d8c71f0d17bca44bc (diff) | |
download | talos-sbe-fd6f20c9d9ba64ce347eb22d928db2dc6165be0a.tar.gz talos-sbe-fd6f20c9d9ba64ce347eb22d928db2dc6165be0a.zip |
Updated DMT flow
RTC:151006
Change-Id: I55fed86838a2fff62fab606f5c79362bdadd50d3
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25163
Tested-by: Jenkins Server
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'sbe')
-rw-r--r-- | sbe/sbefw/sbecmdcntrldmt.C | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/sbe/sbefw/sbecmdcntrldmt.C b/sbe/sbefw/sbecmdcntrldmt.C index ed4ea95b..e3917fee 100644 --- a/sbe/sbefw/sbecmdcntrldmt.C +++ b/sbe/sbefw/sbecmdcntrldmt.C @@ -1,5 +1,29 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: sbe/sbefw/sbecmdcntrldmt.C $ */ +/* */ +/* OpenPOWER sbe Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ /* - * @file: ppe/sbe/sbefw/sbecmdcntrldmt.C + * @file: sbe/sbefw/sbecmdcntrldmt.C * * @brief This file contains the Core State Control Messages * @@ -14,6 +38,7 @@ #include "fapi2.H" #include "p9_sbe_check_master_stop15.H" #include "p9_perv_scom_addresses.H" +#include "p9_block_wakeup_intr.H" using namespace fapi2; @@ -133,6 +158,16 @@ uint32_t sbeStartCntlDmt() // Only for Pending and Success case if(RC_CHECK_MASTER_STOP15_PENDING != l_rcFapi) // Success { + l_fapiRc = p9_block_wakeup_intr(l_coreTgt, + p9pmblockwkup::CLEAR ); + if( l_fapiRc ) + { + SBE_ERROR(SBE_FUNC" p9_block_wakeup_intr failed "); + // TODO via RTC 149074 + // Async Response to be stored. + // Also checkstop the system. + break; + } // indicate the Host via Bit SBE_SBE2PSU_DOORBELL_SET_BIT2 // that Stop15 exit l_rc = sbeSetSbe2PsuDbBitX(SBE_SBE2PSU_DOORBELL_SET_BIT2); |