diff options
author | Benjamin Weisenbeck <bweisenb@us.ibm.com> | 2016-06-07 08:56:07 -0500 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-07-18 15:32:40 -0500 |
commit | d42232139a2463453024d37a28e202b821bef13a (patch) | |
tree | 20fe5a3db0ba8a986c244adb59cd05b4740abdf0 /src/usr/diag/prdf/plat/pegasus | |
parent | e058381b4785cf4fadca5220acf31852cdda8bd1 (diff) | |
download | talos-hostboot-d42232139a2463453024d37a28e202b821bef13a.tar.gz talos-hostboot-d42232139a2463453024d37a28e202b821bef13a.zip |
PRD: PLL Analysis
Change-Id: I2d8396e867c45a729f8d947411add95ddd310e2d
RTC: 136052
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25574
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27139
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/pegasus')
-rw-r--r-- | src/usr/diag/prdf/plat/pegasus/prdfPllUtils.C | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/src/usr/diag/prdf/plat/pegasus/prdfPllUtils.C b/src/usr/diag/prdf/plat/pegasus/prdfPllUtils.C deleted file mode 100644 index da83a7391..000000000 --- a/src/usr/diag/prdf/plat/pegasus/prdfPllUtils.C +++ /dev/null @@ -1,116 +0,0 @@ -/* IBM_PROLOG_BEGIN_TAG */ -/* This is an automatically generated prolog. */ -/* */ -/* $Source: src/usr/diag/prdf/plat/pegasus/prdfPllUtils.C $ */ -/* */ -/* OpenPOWER HostBoot Project */ -/* */ -/* Contributors Listed Below - COPYRIGHT 2014,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 prdfPllUtils.C */ - -#include <prdfExtensibleChip.H> -#include <prdfTrace.H> -#include <UtilHash.H> -#include <prdfPluginDef.H> -#include <iipServiceDataCollector.h> -#include <prdfPciOscSwitchDomain.H> - -using namespace TARGETING; - -namespace PRDF -{ - -using namespace PlatServices; - -namespace Proc -{ - -/** - * @brief queries if there is PCI osc error. - * @param i_procChip P8 proc chip. - * @param o_pciOscError PCI Osc error status. - * @return SUCCESS if query is successful FAIL otherwise. - */ -int32_t queryPciOscErr( ExtensibleChip * i_procChip, - bool & o_pciClkSwitchOver ) -{ - #define PRDF_FUNC "[Proc::queryPciOscErr] " - - int32_t o_rc = FAIL; - o_pciClkSwitchOver = false; - PRDF_TRAC( PRDF_FUNC "PCI Osc Switch over not expected during hostboot " - "HUID: 0x%08x", i_procChip->GetId() ); - - return o_rc; - #undef PRDF_FUNC -} -PRDF_PLUGIN_DEFINE_NS( NaplesProc, Proc, queryPciOscErr ); -PRDF_PLUGIN_DEFINE_NS( MuranoVeniceProc, Proc, queryPciOscErr ); - -//------------------------------------------------------------------------------ - -/** - * @brief analyzes PCI osc error and switchover. - * @param i_procChip P8 proc chip. - * @param PciOscConnList PCI osc error data. - * @return SUCCESS if analysis is successful FAIL otherwise. - */ -int32_t analyzePciClkFailover( ExtensibleChip * i_procChip, - PciOscConnList & o_pciOscSwitchData ) -{ - #define PRDF_FUNC "Proc::analyzePciClkFailover " - - int32_t o_rc = FAIL; - PRDF_TRAC( PRDF_FUNC "PCI Osc Switch over not expected during hostboot " - "HUID: 0x%08x", i_procChip->GetId() ); - return o_rc; - - #undef PRDF_FUNC -} -PRDF_PLUGIN_DEFINE_NS( NaplesProc, Proc, analyzePciClkFailover ); -PRDF_PLUGIN_DEFINE_NS( MuranoVeniceProc, Proc, analyzePciClkFailover ); - -//------------------------------------------------------------------------------ - -/** - * @brief cleans up PCI osc error data. - * @param i_chip P8 proc chip. - * @param i_faultyOscPos position of faulty PCI osc. - * @return SUCCESS if cleanup is successful FAIL otherwise. - */ -int32_t clearPciOscFailOver( ExtensibleChip * i_procChip, - PciOscConnList & i_oscData ) -{ - #define PRDF_FUNC "Proc::clearPciOscFailOver " - - int32_t o_rc = FAIL; - PRDF_TRAC( PRDF_FUNC "PCI Osc Switch over not expected during hostboot " - "HUID: 0x%08x", i_procChip->GetId() ); - return o_rc; - - #undef PRDF_FUNC -} -PRDF_PLUGIN_DEFINE_NS( NaplesProc, Proc, clearPciOscFailOver ); -PRDF_PLUGIN_DEFINE_NS( MuranoVeniceProc, Proc, clearPciOscFailOver ); - -} // end namespace Proc - -} // end namespace PRDF - |