Skip to content

Commit

Permalink
PRD: PLL analysis updates
Browse files Browse the repository at this point in the history
Change-Id: I53bf63d7548ca31be2e5f6ac84bef0d6cdbf7355
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33409
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Squashed: I6b513503e73c6f59595ccda58dcf88827004cb04
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34745
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
  • Loading branch information
bweisenb authored and zane131 committed Jan 31, 2017
1 parent 5330378 commit cfac9c0
Show file tree
Hide file tree
Showing 13 changed files with 844 additions and 106 deletions.
38 changes: 38 additions & 0 deletions src/usr/diag/prdf/common/plat/p9/p9_eq_regs.rule
@@ -0,0 +1,38 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/diag/prdf/common/plat/p9/p9_eq_regs.rule $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] 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
register EQ_ERROR_REG
{
name "EQ PCB Slave error reg";
scomaddr 0x130F001F;
capture group PllFIRs;
};

register EQ_CONFIG_REG
{
name "EQ PCB Slave config reg";
scomaddr 0x130F001E;
capture group PllFIRs;
};

18 changes: 18 additions & 0 deletions src/usr/diag/prdf/common/plat/p9/p9_mca_regs.rule
Expand Up @@ -155,3 +155,21 @@
scomaddr 0x07010A1F;
capture group default;
};

############################################################################
# PCB Slave Error Regs
############################################################################

register MC_ERROR_REG
{
name "MC PCB Slave error reg";
scomaddr 0x070F001F;
capture group PllFIRs;
};

register MC_CONFIG_REG
{
name "MC PCB Slave config reg";
scomaddr 0x070F001E;
capture group PllFIRs;
};
4 changes: 2 additions & 2 deletions src/usr/diag/prdf/common/plat/p9/p9_nimbus.rule
Expand Up @@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016
# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] International Business Machines Corp.
#
#
Expand Down Expand Up @@ -2126,7 +2126,7 @@ group gTP_LFIR filter singlebit
/** TP_LFIR[21]
* local errors from PORT2 ( error)
*/
(rTP_LFIR, bit(21)) ? defaultMaskedError;
(rTP_LFIR, bit(21)) ? PcbSlaveInternalParity;

/** TP_LFIR[22]
* FIR error from SBE
Expand Down
23 changes: 22 additions & 1 deletion src/usr/diag/prdf/common/plat/p9/p9_nimbus_actions.rule
Expand Up @@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016
# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] International Business Machines Corp.
#
#
Expand All @@ -29,3 +29,24 @@ actionclass level2_M_self_L_th_32perDay
threshold32pday;
};

/** PLL Threshold of 2 per 5 mins */
actionclass thresholdPll
{
threshold( field(2 / 5 min) );
};

# This action is for the case where TP_LFIR[21] comes on
# but PLL code does not isolate to any PLL errors. The
# threshold is the same as PLL one 2 per 5 mins with
# callout/gard the chip at threshold along with PLL scom
# data captured.
/** PCB Slave Internal parity error action */
actionclass PcbSlaveInternalParity
{
capture(PllFIRs);
calloutSelfHigh;
thresholdPll;
funccall("capturePllFfdc");
funccall("clearParityError");
};

16 changes: 15 additions & 1 deletion src/usr/diag/prdf/common/plat/p9/p9_nimbus_regs.rule
Expand Up @@ -5,7 +5,7 @@
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016
# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] International Business Machines Corp.
#
#
Expand Down Expand Up @@ -67,3 +67,17 @@
scomaddr 0x00040020;
capture group default;
};

register TP_ERROR_REG
{
name "TP PCB Slave error reg";
scomaddr 0x010F001F;
capture group PllFIRs;
};

register TP_CONFIG_REG
{
name "TP PCB Slave config reg";
scomaddr 0x010F001E;
capture group PllFIRs;
};
38 changes: 38 additions & 0 deletions src/usr/diag/prdf/common/plat/p9/p9_obus_regs.rule
@@ -0,0 +1,38 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/diag/prdf/common/plat/p9/p9_obus_regs.rule $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] 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
register OBUS_ERROR_REG
{
name "OBUS PCB Slave error reg";
scomaddr 0x090F001F;
capture group PllFIRs;
};

register OBUS_CONFIG_REG
{
name "OBUS PCB Slave config reg";
scomaddr 0x090F001E;
capture group PllFIRs;
};

38 changes: 38 additions & 0 deletions src/usr/diag/prdf/common/plat/p9/p9_pec_regs.rule
@@ -0,0 +1,38 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/diag/prdf/common/plat/p9/p9_pec_regs.rule $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] 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
register PCI_ERROR_REG
{
name "PCI PCB Slave error reg";
scomaddr 0x0D0F001F;
capture group PllFIRs;
};

register PCI_CONFIG_REG
{
name "PCI PCB Slave config reg";
scomaddr 0x0D0F001E;
capture group PllFIRs;
};

46 changes: 46 additions & 0 deletions src/usr/diag/prdf/common/plat/p9/p9_xbus_regs.rule
@@ -0,0 +1,46 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/diag/prdf/common/plat/p9/p9_xbus_regs.rule $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016,2017
# [+] 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
###############################################################################
# Additional registers for XBUS, not defined in XML
###############################################################################

###########################################################################
# XBUS Chiplet PLL Registers
###########################################################################

register XBUS_ERROR_REG
{
name "XBUS PCB Slave error reg";
scomaddr 0x060F001F;
capture group PllFIRs;
};

register XBUS_CONFIG_REG
{
name "XBUS PCB Slave config reg";
scomaddr 0x060F001E;
capture group PllFIRs;
};

0 comments on commit cfac9c0

Please sign in to comment.