aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>2014-07-31 16:11:36 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-01 16:02:26 +1000
commitfbee90cf8076eefeac333c1640cb940957acfa40 (patch)
treec5dfcdf3825ec0d80741e7919176ba21ef5d57e0 /include
parent23a5e3fb577965b42c2c7f2ed113f5f92b9a3a46 (diff)
downloadskiboot-fbee90cf8076eefeac333c1640cb940957acfa40.zip
skiboot-fbee90cf8076eefeac333c1640cb940957acfa40.tar.gz
skiboot-fbee90cf8076eefeac333c1640cb940957acfa40.tar.bz2
epow: Fix mbox command encoding to remove FSP orphan responses
This patch changes the EPOW related mbox commands encoding to make sure FSP message response structure is allocated. So that when the command returns from FSP, it can be handled appropriately and orphan response will not be logged. This also adds some more in-code documentation explaining why panel status request based handshaking is required with the FSP. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/fsp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/fsp.h b/include/fsp.h
index de9ae9e..9541a8b 100644
--- a/include/fsp.h
+++ b/include/fsp.h
@@ -358,9 +358,9 @@
#define FSP_CMD_GET_IPL_SIDE 0x1ce0600 /* HV->FSP: Get IPL side and speed */
#define FSP_CMD_SET_IPL_SIDE 0x1ce0780 /* HV->FSP: Set next IPL side */
#define FSP_CMD_PCI_POWER_CONF 0x1ce1b00 /* HV->FSP: Send PCIe list to FSP */
-#define FSP_CMD_STATUS_REQ 0x0ce4800 /* HV->FSP: Request normal panel status */
-#define FSP_CMD_STATUS_EX1_REQ 0x0ce4802 /* HV->FSP: Request extended 1 panel status */
-#define FSP_CMD_STATUS_EX2_REQ 0x0ce4803 /* HV->FSP: Request extended 2 panel status */
+#define FSP_CMD_STATUS_REQ 0x1ce4800 /* HV->FSP: Request normal panel status */
+#define FSP_CMD_STATUS_EX1_REQ 0x1ce4802 /* HV->FSP: Request extended 1 panel status */
+#define FSP_CMD_STATUS_EX2_REQ 0x1ce4803 /* HV->FSP: Request extended 2 panel status */
/*
* Class 0xD2