diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2017-10-03 13:07:37 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2017-10-09 10:49:18 -0400 |
commit | 782095a0999f4605bd9bce40f6e599492be019a4 (patch) | |
tree | aba526e55f475ec3c714d0af21825787a5b5ca15 /src/usr/diag/prdf/common/plat/cen | |
parent | 87093b7e71375cec9a956b52f8a8439682bd0b58 (diff) | |
download | talos-hostboot-782095a0999f4605bd9bce40f6e599492be019a4.tar.gz talos-hostboot-782095a0999f4605bd9bce40f6e599492be019a4.zip |
PRD: Centaur maint cmd complete attention
Change-Id: I6ee6f96ac149c75371cea179426dc6710d97abe9
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47087
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47156
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/cen')
-rw-r--r-- | src/usr/diag/prdf/common/plat/cen/cen_mba.rule | 9 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/cen/cen_mba_actions.rule | 31 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/cen/cen_mba_regs.rule | 80 |
3 files changed, 118 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/common/plat/cen/cen_mba.rule b/src/usr/diag/prdf/common/plat/cen/cen_mba.rule index 3ef6b246e..8f22ea592 100644 --- a/src/usr/diag/prdf/common/plat/cen/cen_mba.rule +++ b/src/usr/diag/prdf/common/plat/cen/cen_mba.rule @@ -513,7 +513,7 @@ group gMBASPA filter singlebit /** MBASPA[0] * Maintenance command complete */ - (rMBASPA, bit(0)) ? TBDDefaultCallout; + (rMBASPA, bit(0)) ? maintenance_command_complete; # DD2+ only /** MBASPA[1] * Hard NCE ETE @@ -553,7 +553,12 @@ group gMBASPA filter singlebit /** MBASPA[8] * Maintenance command complete */ - (rMBASPA, bit(8)) ? TBDDefaultCallout; + # WORKAROUND: HW217608 + # For Centaur DD1.0, the hardware team will utilize the WAT logic to look + # for a command complete and trigger this bit. Note that the HW will still + # trigger MBASPA[0], however, that bit should be masked for this + # workaround. + (rMBASPA, bit(8)) ? maintenance_command_complete; # DD1 only /** MBASPA[9] * Spare diff --git a/src/usr/diag/prdf/common/plat/cen/cen_mba_actions.rule b/src/usr/diag/prdf/common/plat/cen/cen_mba_actions.rule new file mode 100644 index 000000000..05773a326 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/cen/cen_mba_actions.rule @@ -0,0 +1,31 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/usr/diag/prdf/common/plat/cen/cen_mba_actions.rule $ +# +# OpenPOWER HostBoot Project +# +# Contributors Listed Below - COPYRIGHT 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 + +/** Analyze maintenance command complete */ +actionclass maintenance_command_complete +{ + funccall("MaintCmdComplete"); +}; + diff --git a/src/usr/diag/prdf/common/plat/cen/cen_mba_regs.rule b/src/usr/diag/prdf/common/plat/cen/cen_mba_regs.rule new file mode 100644 index 000000000..e738b3384 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/cen/cen_mba_regs.rule @@ -0,0 +1,80 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/usr/diag/prdf/common/plat/cen/cen_mba_regs.rule $ +# +# OpenPOWER HostBoot Project +# +# Contributors Listed Below - COPYRIGHT 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 + + ############################################################################ + # Maintenance Command Registers + ############################################################################ + + register MBMCT + { + name "MBA Maintenance Command Type Register"; + scomaddr 0x0301060A; + capture group default; + capture group MaintCmdRegs; + }; + + # NOTE: PRD doesn't use MBMCC directly and the bits are cleared by HW so I + # see no reason to add it here. + + register MBMSR + { + name "MBA Maintenance Command Status Register"; + scomaddr 0x0301060C; + capture group default; + capture group MaintCmdRegs; + }; + + register MBMACA + { + name "MBA Maintenance Command Start Address Register"; + scomaddr 0x0301060D; + capture group default; + capture group MaintCmdRegs; + }; + + register MBMEA + { + name "MBA Maintenance Command End Address Register"; + scomaddr 0x0301060E; + capture group default; + capture group MaintCmdRegs; + }; + + register MBASCTL + { + name "MBA Memory Scrub/Read Control Register"; + scomaddr 0x0301060F; + capture group default; + capture group MaintCmdRegs; + }; + + register MBAECTL + { + name "MBA Error Control Register"; + scomaddr 0x03010610; + capture group default; + capture group MaintCmdRegs; + }; + |