diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-09-03 18:43:24 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-09-09 09:35:28 +0200 |
commit | 46a22776bc97aa5ab9d5f9dc4829859219b86365 (patch) | |
tree | eceede28f542d7b6fbebda905f9218232c097cd6 /arch/arm/plat-pxa | |
parent | crypto: arm/aes - fix round key prototypes (diff) | |
download | linux-46a22776bc97aa5ab9d5f9dc4829859219b86365.tar.xz linux-46a22776bc97aa5ab9d5f9dc4829859219b86365.zip |
crypto: arm/aes-ce - yield the SIMD unit between scatterwalk steps
Reduce the scope of the kernel_neon_begin/end regions so that the SIMD
unit is released (and thus preemption re-enabled) if the crypto operation
cannot be completed in a single scatterwalk step. This avoids scheduling
blackouts due to preemption being enabled for unbounded periods, resulting
in a more responsive system.
After this change, we can also permit the cipher_walk infrastructure to
sleep, so set the 'atomic' parameter to skcipher_walk_virt() to false as
well.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/plat-pxa')
0 files changed, 0 insertions, 0 deletions