Add GPU errors
Add GPU power fault and overtemp errors.
Change-Id: Iac5782a0db0c5cda2fe478ef8c4e1d7cd3ff4560
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/xyz/openbmc_project/Power/Fault.errors.yaml b/xyz/openbmc_project/Power/Fault.errors.yaml
index 5cfddf6..4b96049 100644
--- a/xyz/openbmc_project/Power/Fault.errors.yaml
+++ b/xyz/openbmc_project/Power/Fault.errors.yaml
@@ -12,3 +12,9 @@
- name: PowerSequencerFault
description: The power sequencer chip detected a fault
+
+- name: GPUPowerFault
+ description: A GPU suffered a power fault
+
+- name: GPUOverTemp
+ description: A GPU suffered an over-temperature fault
diff --git a/xyz/openbmc_project/Power/Fault.metadata.yaml b/xyz/openbmc_project/Power/Fault.metadata.yaml
index f0436d6..b9e41f6 100644
--- a/xyz/openbmc_project/Power/Fault.metadata.yaml
+++ b/xyz/openbmc_project/Power/Fault.metadata.yaml
@@ -29,3 +29,19 @@
meta:
- str: "RAW_STATUS=%s"
type: string
+
+- name: GPUPowerFault
+ level: ERR
+ meta:
+ - str: "RAW_STATUS=%s"
+ type: string
+ - str: "GPU=%s"
+ type: string
+
+- name: GPUOverTemp
+ level: ERR
+ meta:
+ - str: "RAW_STATUS=%s"
+ type: string
+ - str: "GPU=%s"
+ type: string