[Skiboot] [PATCH] xive: reserve OPAL call numbers to get/set the NVT state

Cédric Le Goater clg at kaod.org
Tue Oct 9 20:41:59 AEDT 2018


XIVE already reserves a couple of OPAL call numbers to get/set the END
state but we will need some more for the NVT state.

Signed-off-by: Cédric Le Goater <clg at kaod.org>
---

 or should we recycle OPAL_OLD_I2C_REQUEST, OPAL_ELOG_SEND,
 OPAL_GET_COMPLETION_TOKEN_STATUS ?

 what about OPAL_RESERVED1 and OPAL_RESERVED2 ?

 include/opal-api.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/include/opal-api.h b/include/opal-api.h
index 5f397c8e6731..212c3bc229ae 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -199,8 +199,8 @@
 #define OPAL_XIVE_FREE_IRQ			140
 #define OPAL_XIVE_SYNC				141
 #define OPAL_XIVE_DUMP				142
-#define OPAL_XIVE_RESERVED3			143
-#define OPAL_XIVE_RESERVED4			144
+#define OPAL_XIVE_RESERVED3			143 /* Get END state */
+#define OPAL_XIVE_RESERVED4			144 /* Set END state */
 #define OPAL_SIGNAL_SYSTEM_RESET		145
 #define OPAL_NPU_INIT_CONTEXT			146
 #define OPAL_NPU_DESTROY_CONTEXT		147
@@ -226,7 +226,9 @@
 #define OPAL_NX_COPROC_INIT			167
 #define OPAL_NPU_SET_RELAXED_ORDER		168
 #define OPAL_NPU_GET_RELAXED_ORDER		169
-#define OPAL_LAST				169
+#define OPAL_XIVE_RESERVED5			170 /* Get NVT state */
+#define OPAL_XIVE_RESERVED6			171 /* Set NVT state */
+#define OPAL_LAST				171
 
 #define QUIESCE_HOLD			1 /* Spin all calls at entry */
 #define QUIESCE_REJECT			2 /* Fail all calls with OPAL_BUSY */
-- 
2.17.1



More information about the Skiboot mailing list