diff options
author | Tero Kristo | 2017-05-24 09:35:23 +0200 |
---|---|---|
committer | Herbert Xu | 2017-06-10 06:04:13 +0200 |
commit | 619ce700583f0f193bfb1487ca393b8ad2141a9a (patch) | |
tree | e6049068815cb1fa4aa6421cc8a811b8ea493481 /samples/watchdog | |
parent | crypto: omap-aes - drop unused flags attribute from omap_aes_ctx (diff) | |
download | kernel-qcow2-linux-619ce700583f0f193bfb1487ca393b8ad2141a9a.tar.gz kernel-qcow2-linux-619ce700583f0f193bfb1487ca393b8ad2141a9a.tar.xz kernel-qcow2-linux-619ce700583f0f193bfb1487ca393b8ad2141a9a.zip |
crypto: omap-aes - fix context handling for multiple cores
AES can have multiple HW accelerator cores in the system, in which case
each core has its own crypto engine in use. Currently, the used hardware
device is stored under the omap_aes_ctx struct, which is global for
the algorithm itself, causing conflicts when used with multiple cores.
Fix this by moving the used HW device under reqctx, which is stored
per-request basis.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'samples/watchdog')
0 files changed, 0 insertions, 0 deletions