From fbee90cf8076eefeac333c1640cb940957acfa40 Mon Sep 17 00:00:00 2001 From: Anshuman Khandual Date: Thu, 31 Jul 2014 16:11:36 +0530 Subject: 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 Signed-off-by: Benjamin Herrenschmidt --- include/fsp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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 -- cgit v1.1