diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2011-10-21 15:20:28 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-10-21 15:20:28 +0200 |
commit | 3e721aeb3df3816e283ab18e327cd4652972e213 (patch) | |
tree | ea6fbc0353eea5b5daf5850f60ab49e394ac5670 /crypto | |
parent | crypto: user - Initialise match in crypto_alg_match (diff) | |
download | linux-3e721aeb3df3816e283ab18e327cd4652972e213.tar.xz linux-3e721aeb3df3816e283ab18e327cd4652972e213.zip |
crypto: talitos - handle descriptor not found in error path
The CDPR (Current Descriptor Pointer Register) can be unreliable
when trying to locate an offending descriptor. Handle that case by
(a) not OOPSing, and (b) reverting to the machine internal copy of
the descriptor header in order to report the correct execution unit
error.
Note: printing all execution units' ISRs is not effective because it
results in an internal time out (ITO) error and the EU resetting its
ISR value (at least when specifying an invalid key length on an SEC
2.2/MPC8313E).
Reported-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions