diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2018-09-12 11:59:32 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-09-21 13:24:51 +0800 |
commit | 94cebd9da42cffbcf308c295656e6cd73d02a610 (patch) | |
tree | 78c7087e098412da08239fd147e6aa21fc3821aa /drivers/crypto/caam/regs.h | |
parent | f9cb74fd88376bd8759df2fff2d2e70321fd0468 (diff) | |
download | lwn-94cebd9da42cffbcf308c295656e6cd73d02a610.tar.gz lwn-94cebd9da42cffbcf308c295656e6cd73d02a610.zip |
crypto: caam - add Queue Interface v2 error codes
Add support to translate error codes returned by QI v2, i.e.
Queue Interface present on DataPath Acceleration Architecture
v2 (DPAA2).
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/regs.h')
-rw-r--r-- | drivers/crypto/caam/regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/caam/regs.h b/drivers/crypto/caam/regs.h index ce3f9ad7120f..457815f965c0 100644 --- a/drivers/crypto/caam/regs.h +++ b/drivers/crypto/caam/regs.h @@ -633,6 +633,8 @@ struct caam_job_ring { #define JRSTA_DECOERR_INVSIGN 0x86 #define JRSTA_DECOERR_DSASIGN 0x87 +#define JRSTA_QIERR_ERROR_MASK 0x00ff + #define JRSTA_CCBERR_JUMP 0x08000000 #define JRSTA_CCBERR_INDEX_MASK 0xff00 #define JRSTA_CCBERR_INDEX_SHIFT 8 |