PEL: Add Read/WriteFailure registry entries
These are device access errors used by code like phosphor-hwmon,
openpower-occ-control, and phosphor-power.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I2a6e78088e5983c89e3f2c3ddec2c2ec5b72235a
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index 6cadf5a..55ef4f8 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -135,6 +135,121 @@
},
{
+ "Name": "xyz.openbmc_project.Sensor.Device.Error.ReadFailure",
+ "Subsystem": "cec_chip_iface",
+
+ "SRC":
+ {
+ "ReasonCode": "0x1007",
+ "Words6To9":
+ {
+ "6":
+ {
+ "Description": "errno of the failure",
+ "AdditionalDataPropSource": "CALLOUT_ERRNO"
+ }
+ }
+ },
+
+ "Documentation":
+ {
+ "Description": "Sensor device read failure",
+ "Message": "There was a failure when reading a sensor device",
+ "Notes": [
+ "The severity is set by the creator.",
+ "The action flags are set automatically by the code.",
+ "Callouts added based on CALLOUT_DEVICE_PATH."
+ ]
+ }
+ },
+
+ {
+ "Name": "xyz.openbmc_project.Common.Device.Error.ReadFailure",
+ "Subsystem": "cec_chip_iface",
+
+ "SRC":
+ {
+ "ReasonCode": "0x1008",
+ "Words6To9":
+ {
+ "6":
+ {
+ "Description": "errno of the failure",
+ "AdditionalDataPropSource": "CALLOUT_ERRNO"
+ }
+ }
+ },
+
+ "Documentation":
+ {
+ "Description": "Device read failure",
+ "Message": "There was a failure when reading a hardware device",
+ "Notes": [
+ "The severity is set by the creator.",
+ "The action flags are set automatically by the code.",
+ "Callouts added based on CALLOUT_DEVICE_PATH."
+ ]
+ }
+ },
+
+ {
+ "Name": "xyz.openbmc_project.Control.Device.Error.WriteFailure",
+ "Subsystem": "cec_chip_iface",
+
+ "SRC":
+ {
+ "ReasonCode": "0x1009",
+ "Words6To9":
+ {
+ "6":
+ {
+ "Description": "errno of the failure",
+ "AdditionalDataPropSource": "CALLOUT_ERRNO"
+ }
+ }
+ },
+
+ "Documentation":
+ {
+ "Description": "Device write failure",
+ "Message": "There was a failure when writing to a hardware device",
+ "Notes": [
+ "The severity is set by the creator.",
+ "The action flags are set automatically by the code.",
+ "Callouts added based on CALLOUT_DEVICE_PATH"
+ ]
+ }
+ },
+
+ {
+ "Name": "xyz.openbmc_project.Common.Device.Error.WriteFailure",
+ "Subsystem": "cec_chip_iface",
+
+ "SRC":
+ {
+ "ReasonCode": "0x100A",
+ "Words6To9":
+ {
+ "6":
+ {
+ "Description": "errno of the failure",
+ "AdditionalDataPropSource": "CALLOUT_ERRNO"
+ }
+ }
+ },
+
+ "Documentation":
+ {
+ "Description": "Device write failure",
+ "Message": "There was a failure when writing to a hardware device",
+ "Notes": [
+ "The severity is set by the creator.",
+ "The action flags are set automatically by the code.",
+ "Callouts added based on CALLOUT_DEVICE_PATH"
+ ]
+ }
+ },
+ {
"Name": "org.open_power.Logging.Error.SentBadPELToHost",
"Subsystem": "bmc_firmware",
"Severity": "non_error",