aboutsummaryrefslogtreecommitdiff
path: root/include/fsp.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2019-05-28 11:17:25 +0530
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:28:57 +1000
commitfb702bf01aeabab92d3830d90c8060e5cbd57258 (patch)
treeebaf1f8d5928b3313a2dc25d62d5ccb26f8f42ea /include/fsp.h
parentfcb1d4dc1b9dd2bd98bdd70bff20f0de33231ee5 (diff)
downloadskiboot-fb702bf01aeabab92d3830d90c8060e5cbd57258.zip
skiboot-fb702bf01aeabab92d3830d90c8060e5cbd57258.tar.gz
skiboot-fb702bf01aeabab92d3830d90c8060e5cbd57258.tar.bz2
prd: Implement generic HBRT - FSP interface
This patch implements generic interface to pass data from HBRT to FSP during runtime (HBRT -> opal-prd -> kernel -> OPAL -> FSP). HBRT sends data via firmware_request interface. We have to convert that to MBOX format and send it to FSP. OPAL uses TCE mapped memory to send data. FSP will reuse same memory for response. Once processing is complete FSP sends response to OPAL. Finally OPAL calls HBRT with firmware_response message. Also introduces new opal_msg type (OPAL_MSG_PRD2) to pass bigger prd message to kernel. - if (prd_msg > OPAL_MSG_FIXED_PARAMS_SIZE) use OPAL_MSG_PRD2 Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/fsp.h')
-rw-r--r--include/fsp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fsp.h b/include/fsp.h
index ee851ec..7518867 100644
--- a/include/fsp.h
+++ b/include/fsp.h
@@ -581,6 +581,12 @@
#define FSP_RSP_MEM_DYN_DEALLOC 0x00e48500 /* HV->FSP */
/*
+ * Class F2
+ */
+#define FSP_CMD_HBRT_TO_FSP 0x1f20100 /* HV->FSP: HBRT message */
+
+
+/*
* Functions exposed to the rest of skiboot
*/