aboutsummaryrefslogtreecommitdiff
path: root/include/fsp.h
diff options
context:
space:
mode:
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>2014-10-13 16:48:45 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-10-15 14:34:18 +1100
commitae839f895a5ab94d1475a70368fb10428a10bb4b (patch)
tree00c7aa1b591e9f4e8c49c6da82631ee42fe804d6 /include/fsp.h
parentedcf6bc3f3af2c07b1e57ee5d0168f3b3f492871 (diff)
downloadskiboot-ae839f895a5ab94d1475a70368fb10428a10bb4b.zip
skiboot-ae839f895a5ab94d1475a70368fb10428a10bb4b.tar.gz
skiboot-ae839f895a5ab94d1475a70368fb10428a10bb4b.tar.bz2
led: Handle all the FSP_MCLASS_INDICATOR class sub commands
Right now if any non-LED FSP_MCLASS_INDICATOR class sub command is received, we print it as an invalid sub command like the following which then eventually gets reported as an unhandled FSP message. [163022636453,5] FSPLED: Invalid FSP async sub command da1105 [163022638116,3] FSP: Unhandled message da1105 This patch defines the complete list of FSP_MCLASS_INDICATOR sub commands and handle them in the registered FSP async command client by sending a generic error acknowledgement to the FSP. Reported-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/fsp.h')
-rw-r--r--include/fsp.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/fsp.h b/include/fsp.h
index 53d03f9..0464da4 100644
--- a/include/fsp.h
+++ b/include/fsp.h
@@ -453,6 +453,27 @@
#define FSP_RSP_GET_LED_STATE 0x00da9100
#define FSP_CMD_SET_LED_STATE 0x00da1104 /* Set Service Indicator State */
#define FSP_RSP_SET_LED_STATE 0x00da9100
+#define FSP_CMD_GET_MTMS_LIST 0x00da1105 /* Get MTMS and config ID list */
+#define FSP_RSP_GET_MTMS_LIST 0x00da9100
+#define FSP_CMD_SET_ENCL_MTMS 0x00da1106 /* Set MTMS */
+#define FSP_RSP_SET_ENCL_MTMS 0x00da9100
+#define FSP_CMD_SET_ENCL_CNFG 0x00da1107 /* Set config ID */
+#define FSP_RSP_SET_ENCL_CNFG 0x00da9100
+#define FSP_CMD_CLR_INCT_ENCL 0x00da1108 /* Clear inactive address */
+#define FSP_RSP_CLR_INCT_ENCL 0x00da9100
+#define FSP_CMD_RET_MTMS_BUFFER 0x00da1109 /* Return MTMS buffer */
+#define FSP_RSP_RET_MTMS_BUFFER 0x00da9100
+#define FSP_CMD_ENCL_MCODE_INIT 0x00da110A /* Mcode update (Initiate download) */
+#define FSP_RSP_ENCL_MCODE_INIT 0x00da9100
+#define FSP_CMD_ENCL_MCODE_INTR 0x00da110B /* Mcode update (Interrupt download) */
+#define FSP_RSP_ENCL_MCODE_INTR 0x00da9100
+#define FSP_CMD_ENCL_POWR_TRACE 0x00da110D /* Enclosure power network trace */
+#define FSP_RSP_ENCL_POWR_TRACE 0x00da9100
+#define FSP_CMD_RET_ENCL_TRACE_BUFFER 0x00da110E /* Return power trace buffer */
+#define FSP_RSP_RET_ENCL_TRACE_BUFFER 0x00da9100
+#define FSP_CMD_GET_SPCN_LOOP_STATUS 0x00da110F /* Get SPCN loop status */
+#define FSP_RSP_GET_SPCN_LOOP_STATUS 0x00da9100
+#define FSP_CMD_INITIATE_LAMP_TEST 0x00da1300 /* Initiate LAMP test */
/*
* Class 0xE0