PEL: add possible subsystems to message registry
For openpower-hw-diags, the subsystem field is created dynamically based
on the callouts added to the PEL. This change adds a field in the
message registry to list all possible subsystems that can be used for
each reference code used by openpower-hw-diags.
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ib643b5acd186eec4a45873be4631af1ba87c98eb
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index 7b640d2..eac4f68 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -853,7 +853,12 @@
{
"Name": "org.open_power.HwDiags.Error.Checkstop",
- "Subsystem": "cec_hardware",
+ "PossibleSubsystems": [
+ "processor", "processor_fru", "processor_unit", "processor_bus",
+ "memory_ctlr", "memory_bus", "memory_dimm", "memory_fru",
+ "phb", "cec_hardware", "cec_clocks", "cec_tod", "others"
+ ],
+ "Severity": "unrecoverable",
"ActionFlags": [ "service_action", "report", "call_home" ],
"SRC":
@@ -887,7 +892,12 @@
{
"Name": "org.open_power.HwDiags.Error.Predictive",
- "Subsystem": "cec_hardware",
+ "PossibleSubsystems": [
+ "processor", "processor_fru", "processor_unit", "processor_bus",
+ "memory_ctlr", "memory_bus", "memory_dimm", "memory_fru",
+ "phb", "cec_hardware", "cec_clocks", "cec_tod", "others"
+ ],
+ "Severity": "predictive",
"ActionFlags": [ "service_action", "report", "call_home" ],
"SRC":
@@ -921,7 +931,12 @@
{
"Name": "org.open_power.HwDiags.Error.Informational",
- "Subsystem": "cec_hardware",
+ "PossibleSubsystems": [
+ "processor", "processor_fru", "processor_unit", "processor_bus",
+ "memory_ctlr", "memory_bus", "memory_dimm", "memory_fru",
+ "phb", "cec_hardware", "cec_clocks", "cec_tod", "others"
+ ],
+ "Severity": "non_error",
"ActionFlags": [ "hidden", "dont_report" ],
"SRC":