support for FFDC-only isolation nodes in chip data
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ib457329d31a9f01eb6992e57b11d84c06a63e6e7
diff --git a/src/chip_data/hei_chip_data.cpp b/src/chip_data/hei_chip_data.cpp
index 0c61985..f5c588d 100644
--- a/src/chip_data/hei_chip_data.cpp
+++ b/src/chip_data/hei_chip_data.cpp
@@ -257,8 +257,10 @@
uint8_t numCapRegs, numIsoRules, numChildNodes;
io_stream >> nodeInst >> numCapRegs >> numIsoRules >> numChildNodes;
- // There must be at least one isolation rule defined.
- HEI_ASSERT(0 != numIsoRules);
+ // It is possible to have rules defined and no child nodes, However, if
+ // there are no rules defined (FFDC-only node), there should not be
+ // any child nodes defined.
+ HEI_ASSERT(0 != numIsoRules || 0 == numChildNodes);
// Allocate memory for this isolation node.
auto isoNode =