diff options
author | Haren Myneni <haren@linux.vnet.ibm.com> | 2017-08-31 00:18:18 -0700 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-01 16:42:50 +1000 |
commit | 146e9f1b65478643f2729a97ccb8be60bb4492e5 (patch) | |
tree | cbcec3dba5f8710827bf96fb8d61ca23893856d3 /arch/powerpc/include | |
parent | f05368336b3ae399f66cf511c52c6d69c7bc6b39 (diff) | |
download | linux-stable-146e9f1b65478643f2729a97ccb8be60bb4492e5.tar.gz linux-stable-146e9f1b65478643f2729a97ccb8be60bb4492e5.tar.bz2 linux-stable-146e9f1b65478643f2729a97ccb8be60bb4492e5.zip |
crypto/nx: Add P9 NX specific error codes for 842 engine
This patch adds changes for checking P9 specific 842 engine
error codes. These errros are reported in coprocessor status
block (CSB) for failures.
Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/icswx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/icswx.h b/arch/powerpc/include/asm/icswx.h index 27e588f6c72e..6a2c87577541 100644 --- a/arch/powerpc/include/asm/icswx.h +++ b/arch/powerpc/include/asm/icswx.h @@ -69,7 +69,10 @@ struct coprocessor_completion_block { #define CSB_CC_WR_PROTECTION (16) #define CSB_CC_UNKNOWN_CODE (17) #define CSB_CC_ABORT (18) +#define CSB_CC_EXCEED_BYTE_COUNT (19) /* P9 or later */ #define CSB_CC_TRANSPORT (20) +#define CSB_CC_INVALID_CRB (21) /* P9 or later */ +#define CSB_CC_INVALID_DDE (30) /* P9 or later */ #define CSB_CC_SEGMENTED_DDL (31) #define CSB_CC_PROGRESS_POINT (32) #define CSB_CC_DDE_OVERFLOW (33) |