aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Lombard <clombard@linux.vnet.ibm.com>2016-03-04 06:26:33 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2016-03-08 21:05:51 -0500
commitc0efa9aee8504ce16250320c1e5464bdb7e24400 (patch)
tree05dcd314c066b8ae080039587e348eaef4adf47f
parent73d55c3b59f7d9cadc1dbc07d75ccee6c81fdf5b (diff)
powerpc: New possible return value from hcall
The hcalls introduced for cxl use a possible new value: H_STATE (invalid state). Co-authored-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com> Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com> Acked-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--arch/powerpc/include/asm/hvcall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/hvcall.h b/arch/powerpc/include/asm/hvcall.h
index e3b54dd4f730..0bc9c284aa10 100644
--- a/arch/powerpc/include/asm/hvcall.h
+++ b/arch/powerpc/include/asm/hvcall.h
@@ -94,6 +94,7 @@
94#define H_SG_LIST -72 94#define H_SG_LIST -72
95#define H_OP_MODE -73 95#define H_OP_MODE -73
96#define H_COP_HW -74 96#define H_COP_HW -74
97#define H_STATE -75
97#define H_UNSUPPORTED_FLAG_START -256 98#define H_UNSUPPORTED_FLAG_START -256
98#define H_UNSUPPORTED_FLAG_END -511 99#define H_UNSUPPORTED_FLAG_END -511
99#define H_MULTI_THREADS_ACTIVE -9005 100#define H_MULTI_THREADS_ACTIVE -9005