diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2018-10-17 13:21:54 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2018-11-01 21:39:50 -0500 |
commit | e652b190c9a84f3023557deea1be7dc163635f2e (patch) | |
tree | a3ddd0193d9353c69b8e0afc34e0c1819cfae16c /src/usr/diag | |
parent | 68d4feee7c9a15428df2fc06bcbbbe86762c732e (diff) | |
download | talos-hostboot-e652b190c9a84f3023557deea1be7dc163635f2e.tar.gz talos-hostboot-e652b190c9a84f3023557deea1be7dc163635f2e.zip |
PRD: Support for new Axone domains
Change-Id: I149c2f290fae505814d79975983b43fdadb13aef
RTC: 199010
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67771
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68272
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag')
-rwxr-xr-x | src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H | 13 | ||||
-rwxr-xr-x | src/usr/diag/prdf/common/iipconst.h | 6 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9MccDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9NpuDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9OcmbChipDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9OmiDomain.H | 61 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfP9OmicDomain.H | 61 |
7 files changed, 321 insertions, 3 deletions
diff --git a/src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H b/src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H index e13e6f4fd..7ac6cd563 100755 --- a/src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H +++ b/src/usr/diag/prdf/common/framework/config/prdfRuleChipDomain.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2017 */ +/* Contributors Listed Below - COPYRIGHT 2012,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -56,6 +56,11 @@ class RuleChipDomain : public DomainContainer<RuleChip> MC_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 2, MI_DOMAIN_SIZE = MC_DOMAIN_SIZE * 2, DMI_DOMAIN_SIZE = MI_DOMAIN_SIZE * 2, + NPU_DOMAIN_SIZE = PROC_DOMAIN_SIZE * 3, + MCC_DOMAIN_SIZE = MI_DOMAIN_SIZE * 2, + OMIC_DOMAIN_SIZE = MC_DOMAIN_SIZE * 3, + OMI_DOMAIN_SIZE = MCC_DOMAIN_SIZE * 2, + OCMB_DOMAIN_SIZE = OMI_DOMAIN_SIZE, MEMBUF_DOMAIN_SIZE = MCS_DOMAIN_SIZE, @@ -67,9 +72,11 @@ class RuleChipDomain : public DomainContainer<RuleChip> PEC_DOMAIN_SIZE + PHB_DOMAIN_SIZE + CAPP_DOMAIN_SIZE + MCBIST_DOMAIN_SIZE + MCS_DOMAIN_SIZE + MCA_DOMAIN_SIZE + - MEMBUF_DOMAIN_SIZE + MBA_DOMAIN_SIZE, + MEMBUF_DOMAIN_SIZE + MBA_DOMAIN_SIZE + NPU_DOMAIN_SIZE + + MCC_DOMAIN_SIZE + OMIC_DOMAIN_SIZE + OMI_DOMAIN_SIZE + + OCMB_DOMAIN_SIZE, - TOTAL_DOMAINS = 14, + TOTAL_DOMAINS = 19, }; /** @fn RuleChipDomain diff --git a/src/usr/diag/prdf/common/iipconst.h b/src/usr/diag/prdf/common/iipconst.h index 41ed537d6..7935a3958 100755 --- a/src/usr/diag/prdf/common/iipconst.h +++ b/src/usr/diag/prdf/common/iipconst.h @@ -89,6 +89,12 @@ enum DOMAIN_ID MEMBUF_DOMAIN = 0x80, MBA_DOMAIN = 0x81, + NPU_DOMAIN = 0x82, + MCC_DOMAIN = 0x83, + OMIC_DOMAIN = 0x84, + OMI_DOMAIN = 0x85, + OCMB_DOMAIN = 0x86, + CLOCK_DOMAIN_FAB = 0x90, CLOCK_DOMAIN_MEMBUF = 0x91, CLOCK_DOMAIN_IO = 0x92, diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9MccDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9MccDomain.H new file mode 100644 index 000000000..3e2bb14f6 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9MccDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9MccDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2018 */ +/* [+] 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 */ + +#ifndef __prdfP9MccDomain_H +#define __prdfP9MccDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class MccDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + MccDomain( DOMAIN_ID i_did, uint32_t i_size = MCC_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9MccDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9NpuDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9NpuDomain.H new file mode 100644 index 000000000..39b9fb8c6 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9NpuDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9NpuDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2018 */ +/* [+] 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 */ + +#ifndef __prdfP9NpuDomain_H +#define __prdfP9NpuDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class NpuDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + NpuDomain( DOMAIN_ID i_did, uint32_t i_size = NPU_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9NpuDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9OcmbChipDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9OcmbChipDomain.H new file mode 100644 index 000000000..5546d9453 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9OcmbChipDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9OcmbChipDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2018 */ +/* [+] 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 */ + +#ifndef __prdfP9OcmbChipDomain_H +#define __prdfP9OcmbChipDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class OcmbChipDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + OcmbChipDomain( DOMAIN_ID i_did, uint32_t i_size = OCMB_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9OcmbChipDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9OmiDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9OmiDomain.H new file mode 100644 index 000000000..34ba46093 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9OmiDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9OmiDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2018 */ +/* [+] 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 */ + +#ifndef __prdfP9OmiDomain_H +#define __prdfP9OmiDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class OmiDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + OmiDomain( DOMAIN_ID i_did, uint32_t i_size = OMI_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9OmiDomain_H */ diff --git a/src/usr/diag/prdf/common/plat/p9/prdfP9OmicDomain.H b/src/usr/diag/prdf/common/plat/p9/prdfP9OmicDomain.H new file mode 100644 index 000000000..ddb310e22 --- /dev/null +++ b/src/usr/diag/prdf/common/plat/p9/prdfP9OmicDomain.H @@ -0,0 +1,61 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9OmicDomain.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2018 */ +/* [+] 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 */ + +#ifndef __prdfP9OmicDomain_H +#define __prdfP9OmicDomain_H + +#include <prdfRuleChipDomain.H> + +namespace PRDF +{ + +class OmicDomain : public RuleChipDomain +{ + public: + + /** + * @brief Constructor + * @param i_did The domain ID + * @param i_size The projected size of the domain + */ + OmicDomain( DOMAIN_ID i_did, uint32_t i_size = OMIC_DOMAIN_SIZE ) : + RuleChipDomain( i_did, i_size ) + {} + + /** + * @brief Query for an attention of a specific type in this domain + * @param i_attnType [MACHINE_CHECK | RECOVERABLE | SPECIAL] + * @return false + * @note This function will always return false. That way PRD will look + * for the attention via the processor chip. + */ + virtual bool Query( ATTENTION_TYPE i_attnType ) + { return false; } + +}; + +} // end namespace PRDF + +#endif /* __prdfP9OmicDomain_H */ |