aboutsummaryrefslogtreecommitdiff
path: root/doc/opal-api/opal-messages.rst
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 /doc/opal-api/opal-messages.rst
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 'doc/opal-api/opal-messages.rst')
-rw-r--r--doc/opal-api/opal-messages.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/opal-api/opal-messages.rst b/doc/opal-api/opal-messages.rst
index c7b2e5c..1f5d6f2 100644
--- a/doc/opal-api/opal-messages.rst
+++ b/doc/opal-api/opal-messages.rst
@@ -227,3 +227,9 @@ these values.
If ``opal_occ_msg.type > 2`` then host should ignore the message for now,
new events can be defined for ``opal_occ_msg.type`` in the future versions
of OPAL.
+
+OPAL_MSG_PRD2
+-------------
+
+This message is a OPAL-to-HBRT notification. Its same as OPAL_MSG_PRD except
+this one supports passing more than 64bytes (8*8) of data.