powerpc/pseries: Add new hvcall constants to support PFO
authorKent Yoder <key@linux.vnet.ibm.com>
Thu, 12 Apr 2012 05:04:01 +0000 (05:04 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 14 May 2012 00:49:04 +0000 (10:49 +1000)
The Platform Facilities Option (PFO) adds several new h_calls and
more return codes.

Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hvcall.h

index 1c324ff55ea857f1f31c8f03468430fe7f1784a3..612252388190ccfafeab132ba93e84d8f60b632e 100644 (file)
 #define H_MR_CONDITION  -43
 #define H_NOT_ENOUGH_RESOURCES -44
 #define H_R_STATE       -45
-#define H_RESCINDEND    -46
-#define H_MULTI_THREADS_ACTIVE -9005
+#define H_RESCINDED     -46
+#define H_P2           -55
+#define H_P3           -56
+#define H_P4           -57
+#define H_P5           -58
+#define H_P6           -59
+#define H_P7           -60
+#define H_P8           -61
+#define H_P9           -62
+#define H_TOO_BIG      -64
+#define H_OVERLAP      -68
+#define H_INTERRUPT    -69
+#define H_BAD_DATA     -70
+#define H_NOT_ACTIVE   -71
+#define H_SG_LIST      -72
+#define H_OP_MODE      -73
+#define H_COP_HW       -74
+#define H_UNSUPPORTED_FLAG_START       -256
+#define H_UNSUPPORTED_FLAG_END         -511
+#define H_MULTI_THREADS_ACTIVE -9005
+#define H_OUTSTANDING_COP_OPS  -9006
 
 
 /* Long Busy is a condition that can be returned by the firmware
 #define H_GET_MPP              0x2D4
 #define H_HOME_NODE_ASSOCIATIVITY 0x2EC
 #define H_BEST_ENERGY          0x2F4
+#define H_RANDOM               0x300
+#define H_COP                  0x304
 #define H_GET_MPP_X            0x314
 #define MAX_HCALL_OPCODE       H_GET_MPP_X