aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/crypto/aes-ce-core.S
diff options
context:
space:
mode:
authorGravatar Ard Biesheuvel <ard.biesheuvel@linaro.org> 2019-09-03 09:43:24 -0700
committerGravatar Herbert Xu <herbert@gondor.apana.org.au> 2019-09-09 17:35:28 +1000
commit46a22776bc97aa5ab9d5f9dc4829859219b86365 (patch)
treeeceede28f542d7b6fbebda905f9218232c097cd6 /arch/arm/crypto/aes-ce-core.S
parentcrypto: arm/aes - fix round key prototypes (diff)
downloadlinux-46a22776bc97aa5ab9d5f9dc4829859219b86365.tar.gz
linux-46a22776bc97aa5ab9d5f9dc4829859219b86365.tar.bz2
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/crypto/aes-ce-core.S')
0 files changed, 0 insertions, 0 deletions