Add TLX_ERR_RPT_1 to chip data XML
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ia5843cee14058970fdcf306c94c33c72eb64761a
diff --git a/test/simulator/testcases/exp20_tlx_err_rpt_1.cpp b/test/simulator/testcases/exp20_tlx_err_rpt_1.cpp
new file mode 100644
index 0000000..63a6973
--- /dev/null
+++ b/test/simulator/testcases/exp20_tlx_err_rpt_1.cpp
@@ -0,0 +1,18 @@
+#include "simulator.hpp"
+
+START_TEST_CASE(exp20_tlx_err_rpt_1)
+
+CHIP(ocmb1, EXPLORER_20)
+
+START_ITERATION
+
+REG_SCOM(ocmb1, 0x08040001, 0x0040000000000000) // OCMB_CHIPLET_RE_FIR[9]
+REG_SCOM(ocmb1, 0x08012400, 0x0040000000000000) // TLXFIR[9]
+REG_SCOM(ocmb1, 0x08012407, 0x0040000000000000) // TLXFIR_ACT1
+REG_SCOM(ocmb1, 0x0801241D, 0x0000000001000000) // TLX_ERR_RPT_1[39]
+
+EXP_SIG(ocmb1, 0xd512, 0, 39, RECOVERABLE)
+
+END_ITERATION
+
+END_TEST_CASE
diff --git a/test/simulator/testcases/meson.build b/test/simulator/testcases/meson.build
index 076a617..191b845 100644
--- a/test/simulator/testcases/meson.build
+++ b/test/simulator/testcases/meson.build
@@ -2,5 +2,6 @@
test_src = files(
'sample_test_case.cpp',
'exp20_foxhound7.cpp',
+ 'exp20_tlx_err_rpt_1.cpp',
)
diff --git a/xml/explorer/node_tlx_err_rpt_1.xml b/xml/explorer/node_tlx_err_rpt_1.xml
new file mode 100644
index 0000000..d7aced3
--- /dev/null
+++ b/xml/explorer/node_tlx_err_rpt_1.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<attn_node name="TLX_ERR_RPT_1" model_ec="EXPLORER_11,EXPLORER_20" reg_type="SCOM">
+
+ <rule attn_type="UCS" node_inst="0">
+ <!-- REG & ~MASK & 0x0000000005C00000 -->
+ <expr type="and">
+ <expr type="reg" value1="TLX_ERR_RPT_1" />
+ <expr type="not">
+ <expr type="reg" value1="TLX_ERR_RPT_1_MASK" />
+ </expr>
+ <expr type="int" value1="0x0000000005C00000" />
+ </expr>
+ </rule>
+
+ <rule attn_type="RE" node_inst="0">
+ <!-- REG & ~MASK & 0x0000000005C00000 -->
+ <expr type="and">
+ <expr type="reg" value1="TLX_ERR_RPT_1" />
+ <expr type="not">
+ <expr type="reg" value1="TLX_ERR_RPT_1_MASK" />
+ </expr>
+ <expr type="int" value1="0x0000000005C00000" />
+ </expr>
+ </rule>
+
+ <rule attn_type="HA" node_inst="0">
+ <!-- REG & ~MASK & 0x0000000005C00000 -->
+ <expr type="and">
+ <expr type="reg" value1="TLX_ERR_RPT_1" />
+ <expr type="not">
+ <expr type="reg" value1="TLX_ERR_RPT_1_MASK" />
+ </expr>
+ <expr type="int" value1="0x0000000005C00000" />
+ </expr>
+ </rule>
+
+ <bit pos= "37">TLXT FIFO CE</bit>
+ <bit pos= "39">Unexpected Interrupt Response</bit>
+ <bit pos= "40">BDI Poisoned</bit>
+ <bit pos= "41">TLXT Metadata UE</bit>
+
+</attn_node>
diff --git a/xml/explorer/node_tlxfir.xml b/xml/explorer/node_tlxfir.xml
index d3be87f..4cf08f8 100644
--- a/xml/explorer/node_tlxfir.xml
+++ b/xml/explorer/node_tlxfir.xml
@@ -8,6 +8,39 @@
<action attn_type="HA" config="10" />
</local_fir>
+ <register name="TLX_ERR_RPT_0">
+ <instance reg_inst="0" addr="0x0801241C" />
+ </register>
+
+ <register name="TLX_ERR_RPT_1">
+ <instance reg_inst="0" addr="0x0801241D" />
+ </register>
+
+ <register name="TLX_ERR_RPT_2">
+ <instance reg_inst="0" addr="0x0801241E" />
+ </register>
+
+ <register name="TLX_ERR_RPT_0_MASK">
+ <instance reg_inst="0" addr="0x08012414" />
+ </register>
+
+ <register name="TLX_ERR_RPT_1_MASK">
+ <instance reg_inst="0" addr="0x08012415" />
+ </register>
+
+ <register name="TLX_ERR_RPT_2_MASK">
+ <instance reg_inst="0" addr="0x08012416" />
+ </register>
+
+ <capture_group node_inst="0">
+ <capture_register reg_name="TLX_ERR_RPT_0" reg_inst="0" />
+ <capture_register reg_name="TLX_ERR_RPT_1" reg_inst="0" />
+ <capture_register reg_name="TLX_ERR_RPT_2" reg_inst="0" />
+ <capture_register reg_name="TLX_ERR_RPT_0_MASK" reg_inst="0" />
+ <capture_register reg_name="TLX_ERR_RPT_1_MASK" reg_inst="0" />
+ <capture_register reg_name="TLX_ERR_RPT_2_MASK" reg_inst="0" />
+ </capture_group>
+
<bit pos= "0" >Info reg parity error</bit>
<bit pos= "1" >Ctrl reg parity error</bit>
<bit pos= "2" >TLX VC0 return credit counter overflow</bit>
@@ -17,7 +50,7 @@
<bit pos= "6" >TLX credit management block error</bit>
<bit pos= "7" >TLX credit management block parity error</bit>
<bit pos= "8" >TLXT fatal parity error</bit>
- <bit pos= "9" >TLXT recoverable error</bit>
+ <bit pos= "9" child_node="TLX_ERR_RPT_1">TLXT recoverable error</bit>
<bit pos="10" >TLXT configuration error</bit>
<bit pos="11" >TLXT informational parity error</bit>
<bit pos="12" >TLXT hard error</bit>