From fd6f20c9d9ba64ce347eb22d928db2dc6165be0a Mon Sep 17 00:00:00 2001 From: Sachin Gupta Date: Wed, 11 May 2016 09:05:57 -0500 Subject: 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 Reviewed-by: Shakeeb A. Pasha B K Reviewed-by: AMIT J. TENDOLKAR --- sbe/sbefw/sbecmdcntrldmt.C | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'sbe') 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); -- cgit v1.2.1