There is another set of these that Linux added recently that are used
for Meltdown/Spectre workarounds. Might be worth importing while these
are being updated...
-Nathan
On 02/13/18 18:48, Justin Hibbits wrote:
Author: jhibbits
Date: Wed Feb 14 02:48:27 2018
New Revision: 329257
URL: https://svnweb.freebsd.org/changeset/base/329257
Log:
powerpc64/pseries: Define new hcalls
Summary:
Define new hcalls as in 'Linux on Power Architecture Platform Reference'
version 1.1 (24 March 2016) downloaded from:
https://members.openpowerfoundation.org/document/dl/469
Submitted by: Breno Leitao
Differential Revision: https://reviews.freebsd.org/D14281
Modified:
head/sys/powerpc/pseries/phyp-hvcall.h
Modified: head/sys/powerpc/pseries/phyp-hvcall.h
==============================================================================
--- head/sys/powerpc/pseries/phyp-hvcall.h Wed Feb 14 00:34:02 2018
(r329256)
+++ head/sys/powerpc/pseries/phyp-hvcall.h Wed Feb 14 02:48:27 2018
(r329257)
@@ -296,7 +296,25 @@
#define H_VPM_STAT 0x2bc
#define H_SET_MPP 0x2d0
#define H_GET_MPP 0x2d4
-#define MAX_HCALL_OPCODE H_GET_MPP
+#define H_MO_PERF 0x2d8
+#define H_REG_SUB_CRQ 0x2dc
+#define H_FREE_SUB_CRQ 0x2e0
+#define H_SEND_SUB_CRQ 0x2e4
+#define H_SEND_SUB_CRQ_IND 0x2e8
+#define H_HOME_NODE_ASSOC 0x2ec
+/* Reserved ... */
+#define H_BEST_ENERGY 0x2f4
+#define H_REG_SNS 0x2f8
+#define H_X_XIRR 0x2fc
+#define H_RANDOM 0x300
+/* Reserved ... */
+#define H_COP_OP 0x304
+#define H_STOP_COP_OP 0x308
+#define H_GET_MPP_X 0x314
+#define H_SET_MODE 0x31C
+/* Reserved ... */
+#define H_GET_DMA_XLATES_L 0x324
+#define MAX_HCALL_OPCODE H_GET_DMA_XLATES_L
int64_t phyp_hcall(uint64_t opcode, ...);
int64_t phyp_pft_hcall(uint64_t opcode, uint64_t flags, uint64_t pteidx,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"