From 7f716fe1404d8eea1e2d6fe16ad9f3e2f7337feb Mon Sep 17 00:00:00 2001 From: Zane Shelley Date: Thu, 1 Nov 2018 11:51:15 -0500 Subject: PRD: Remove remaining P8 code Change-Id: Icb74c251a718091071c909b1832b58615345dc5d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68279 Tested-by: Jenkins Server Reviewed-by: Caleb N. Palmer Reviewed-by: Brian J. Stegmiller Reviewed-by: Zane C. Shelley Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68511 Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW --- src/usr/diag/prdf/plat/pegasus/prdfP8TodPlugins.C | 94 ----------------------- 1 file changed, 94 deletions(-) delete mode 100755 src/usr/diag/prdf/plat/pegasus/prdfP8TodPlugins.C (limited to 'src/usr/diag/prdf/plat/pegasus/prdfP8TodPlugins.C') diff --git a/src/usr/diag/prdf/plat/pegasus/prdfP8TodPlugins.C b/src/usr/diag/prdf/plat/pegasus/prdfP8TodPlugins.C deleted file mode 100755 index 337332c8c..000000000 --- a/src/usr/diag/prdf/plat/pegasus/prdfP8TodPlugins.C +++ /dev/null @@ -1,94 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/diag/prdf/plat/pegasus/prdfP8TodPlugins.C $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* Contributors Listed Below - COPYRIGHT 2013,2015 */ -/* [+] 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 prdfP8TodPlugins.C - * @brief defines all the dummy TOD error plugins for hostboot platform - */ -#include -#include -#include -#include -#include -#include -#include - -using namespace TARGETING; - -namespace PRDF -{ - -namespace Proc -{ - -/** Defines TOD parity error plugins for hostboot */ -#define PLUGIN_TOD_UNEXPECTED_ATTN( FUNC ) \ -int32_t FUNC( ExtensibleChip * i_procChip, STEP_CODE_DATA_STRUCT & i_sc ) \ -{ \ - PRDF_ERR( "["#FUNC "] Unexpected attention due to TOD errors on" \ - "Hostboot: HUID=0x%08x", i_procChip->GetId() ); \ - CalloutUtil::defaultError( i_sc ); \ - return SUCCESS; \ -} \ -PRDF_PLUGIN_DEFINE_NS( NaplesProc, Proc, FUNC ); \ -PRDF_PLUGIN_DEFINE_NS( MuranoVeniceProc, Proc, FUNC ); - -PLUGIN_TOD_UNEXPECTED_ATTN( clearServiceCallFlag ) -PLUGIN_TOD_UNEXPECTED_ATTN( todNewTopologyIfBackupMDMT ) -PLUGIN_TOD_UNEXPECTED_ATTN( todStepCheckFault ) -PLUGIN_TOD_UNEXPECTED_ATTN( requestTopologySwitch ) - -#undef PLUGIN_TOD_UNEXPECTED_ATTN - -/** - * @brief Checks if TOD errors are disabled on the platform. - * @param i_chip chip reporting TOD logic parity error. - * @param i_stepcode The step code data struct. - * @return SUCCESS - * @note TOD errors are not expected during hostboot and its - * analysis is disabled during HBRT. So, just returning SUCCESS. - * This prevents execution of alternate resolution associated with - * try resolution. - */ -int32_t isTodDisabled( ExtensibleChip * i_chip, - STEP_CODE_DATA_STRUCT & i_stepcode ) -{ - //FIXME RTC Issue 120820: Investigate behavior for manufacturing - //environment. - //On OPAL machine, mask TOD errors on first instance. There - //should not be any service action. - - if( !PlatUtil::ignoreErrorForSapphire( i_stepcode ) ) - { - CalloutUtil::defaultError( i_stepcode ); - } - - return SUCCESS; -} -PRDF_PLUGIN_DEFINE_NS( NaplesProc, Proc, isTodDisabled ); -PRDF_PLUGIN_DEFINE_NS( MuranoVeniceProc, Proc, isTodDisabled ); - -} //namespace Proc ends - -} //namespace PRDF ends -- cgit v1.2.1