crypto/nx: Add P9 NX specific error codes for 842 engine
authorHaren Myneni <haren@linux.vnet.ibm.com>
Thu, 31 Aug 2017 07:18:18 +0000 (00:18 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Sep 2017 06:42:50 +0000 (16:42 +1000)
commit146e9f1b65478643f2729a97ccb8be60bb4492e5
treecbcec3dba5f8710827bf96fb8d61ca23893856d3
parentf05368336b3ae399f66cf511c52c6d69c7bc6b39
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>
arch/powerpc/include/asm/icswx.h
drivers/crypto/nx/nx-842-powernv.c
drivers/crypto/nx/nx-842.h