summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2017-08-15 16:44:36 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-09-01 09:38:11 -0400
commit3d4caf24f7e90f183f93cbcb915470f7205bb7f4 (patch)
tree2dfba534dc100960f8d4a40d9fbbfef9ff832b61 /src/include/usr/hwas
parent7b2191a74ffc3b431c9ddb6c75b0fefc7f20d133 (diff)
downloadtalos-hostboot-3d4caf24f7e90f183f93cbcb915470f7205bb7f4.tar.gz
talos-hostboot-3d4caf24f7e90f183f93cbcb915470f7205bb7f4.zip
Added Error log support for new GPU sensors
Change-Id: I8a0de390516fd02df07860b960db506899b13f14 RTC:178218 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45116 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas')
-rw-r--r--src/include/usr/hwas/common/hwasCallout.H14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/include/usr/hwas/common/hwasCallout.H b/src/include/usr/hwas/common/hwasCallout.H
index 9a729a5ed..8f5126e6e 100644
--- a/src/include/usr/hwas/common/hwasCallout.H
+++ b/src/include/usr/hwas/common/hwasCallout.H
@@ -145,8 +145,13 @@ enum partTypeEnum
PCI_REF_CLOCK = 11,
};
-
-
+enum sensorTypeEnum
+{
+ UNKNOWN_SENSOR = 0,
+ GPU_FUNC_SENSOR = 1,
+ GPU_TEMPERATURE_SENSOR = 2,
+ GPU_MEMORY_TEMP_SENSOR = 3,
+};
//
const uint8_t HW_CALLOUT = 0x01;
@@ -154,6 +159,7 @@ const uint8_t PROCEDURE_CALLOUT = 0x02;
const uint8_t BUS_CALLOUT = 0x03;
const uint8_t CLOCK_CALLOUT = 0x04;
const uint8_t PART_CALLOUT = 0x05;
+const uint8_t SENSOR_CALLOUT = 0x06;
const uint8_t TARGET_IS_SENTINEL = 0xF0;
@@ -188,6 +194,10 @@ typedef struct callout_ud
GARD_ErrorType partGardErrorType; // uint32_t
// one Target will follow
};
+ struct { // type == SENSOR_CALLOUT
+ uint32_t sensorId;
+ sensorTypeEnum sensorType;
+ };
}; // union
} callout_ud_t;
OpenPOWER on IntegriCloud