projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c4a51
)
crypto: caam - add more RNG hw error codes
author
Horia Geantă
<horia.geanta@nxp.com>
Wed, 22 Jul 2020 12:14:57 +0000
(15:14 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 31 Jul 2020 08:25:28 +0000
(18:25 +1000)
In some cases, e.g. when TRNG is not properly configured,
the RNG module could issue a "Hardware error" at runtime.
"Continuos check" error is emitted when some of the BISTs fail.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/error.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/caam/error.c
b/drivers/crypto/caam/error.c
index 17c6108b6d412eea0f2f2be7ff1f3ba77cab4dfd..72db90176b1a104cdbc7befb26e92236ca9ac54e 100644
(file)
--- a/
drivers/crypto/caam/error.c
+++ b/
drivers/crypto/caam/error.c
@@
-212,6
+212,9
@@
static const char * const rng_err_id_list[] = {
"Prediction resistance and test request",
"Uninstantiate",
"Secure key generation",
+ "",
+ "Hardware error",
+ "Continuous check"
};
static int report_ccb_status(struct device *jrdev, const u32 status,