summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2019-03-20 15:16:36 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-04-09 10:50:55 +1000
commit73cd109ecd8f6b64f67f62538674b76e1af946a1 (patch)
tree4636114ad7d2b648a20e38c844ed1e96e7a56297
parent46050485f5ef370cb0127835df12067bc36cbf9d (diff)
downloadblackbird-skiboot-73cd109ecd8f6b64f67f62538674b76e1af946a1.tar.gz
blackbird-skiboot-73cd109ecd8f6b64f67f62538674b76e1af946a1.zip
opal-api: Reserve 2 OPAL API calls for future OpenCAPI LPC use
OpenCAPI Lowest Point of Coherency (LPC) memory is going to require some extra OPAL calls to set up NPU BARs. These calls will most likely be called OPAL_NPU_LPC_ALLOC and OPAL_NPU_LPC_RELEASE, we're not quite ready to upstream that code yet though. Reserve 171 and 172 for this purpose. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--include/opal-api.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/opal-api.h b/include/opal-api.h
index 36aaf54e..e461c9d2 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2018 IBM Corp.
+/* Copyright 2013-2019 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -227,7 +227,9 @@
#define OPAL_NPU_SET_RELAXED_ORDER 168
#define OPAL_NPU_GET_RELAXED_ORDER 169
#define OPAL_XIVE_GET_VP_STATE 170 /* Get NVT state */
-#define OPAL_LAST 170
+#define OPAL_NPU_RESERVED1 171 /* LPC Allocate */
+#define OPAL_NPU_RESERVED2 172 /* LPC Release */
+#define OPAL_LAST 172
#define QUIESCE_HOLD 1 /* Spin all calls at entry */
#define QUIESCE_REJECT 2 /* Fail all calls with OPAL_BUSY */
OpenPOWER on IntegriCloud