#define OPAL_INT_SET_MFRR 125
#define OPAL_PCI_TCE_KILL 126
#define OPAL_NMMU_SET_PTCR 127
-#define OPAL_LAST 144
+ #define OPAL_XIVE_RESET 128
+ #define OPAL_XIVE_GET_IRQ_INFO 129
+ #define OPAL_XIVE_GET_IRQ_CONFIG 130
+ #define OPAL_XIVE_SET_IRQ_CONFIG 131
+ #define OPAL_XIVE_GET_QUEUE_INFO 132
+ #define OPAL_XIVE_SET_QUEUE_INFO 133
+ #define OPAL_XIVE_DONATE_PAGE 134
+ #define OPAL_XIVE_ALLOCATE_VP_BLOCK 135
+ #define OPAL_XIVE_FREE_VP_BLOCK 136
+ #define OPAL_XIVE_GET_VP_INFO 137
+ #define OPAL_XIVE_SET_VP_INFO 138
+ #define OPAL_XIVE_ALLOCATE_IRQ 139
+ #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_NPU_INIT_CONTEXT 146
+#define OPAL_NPU_DESTROY_CONTEXT 147
+#define OPAL_NPU_MAP_LPAR 148
+#define OPAL_LAST 148
/* Device tree flags */
OPAL_CALL(opal_int_set_mfrr, OPAL_INT_SET_MFRR);
OPAL_CALL(opal_pci_tce_kill, OPAL_PCI_TCE_KILL);
OPAL_CALL(opal_nmmu_set_ptcr, OPAL_NMMU_SET_PTCR);
+ OPAL_CALL(opal_xive_reset, OPAL_XIVE_RESET);
+ OPAL_CALL(opal_xive_get_irq_info, OPAL_XIVE_GET_IRQ_INFO);
+ OPAL_CALL(opal_xive_get_irq_config, OPAL_XIVE_GET_IRQ_CONFIG);
+ OPAL_CALL(opal_xive_set_irq_config, OPAL_XIVE_SET_IRQ_CONFIG);
+ OPAL_CALL(opal_xive_get_queue_info, OPAL_XIVE_GET_QUEUE_INFO);
+ OPAL_CALL(opal_xive_set_queue_info, OPAL_XIVE_SET_QUEUE_INFO);
+ OPAL_CALL(opal_xive_donate_page, OPAL_XIVE_DONATE_PAGE);
+ OPAL_CALL(opal_xive_alloc_vp_block, OPAL_XIVE_ALLOCATE_VP_BLOCK);
+ OPAL_CALL(opal_xive_free_vp_block, OPAL_XIVE_FREE_VP_BLOCK);
+ OPAL_CALL(opal_xive_allocate_irq, OPAL_XIVE_ALLOCATE_IRQ);
+ OPAL_CALL(opal_xive_free_irq, OPAL_XIVE_FREE_IRQ);
+ OPAL_CALL(opal_xive_get_vp_info, OPAL_XIVE_GET_VP_INFO);
+ OPAL_CALL(opal_xive_set_vp_info, OPAL_XIVE_SET_VP_INFO);
+ OPAL_CALL(opal_xive_sync, OPAL_XIVE_SYNC);
+ OPAL_CALL(opal_xive_dump, OPAL_XIVE_DUMP);
+OPAL_CALL(opal_npu_init_context, OPAL_NPU_INIT_CONTEXT);
+OPAL_CALL(opal_npu_destroy_context, OPAL_NPU_DESTROY_CONTEXT);
+OPAL_CALL(opal_npu_map_lpar, OPAL_NPU_MAP_LPAR);