Home
last modified time | relevance | path

Searched hist:"9 ecc9f31" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm64/crypto/
H A Dsha3-ce-core.S9ecc9f31 Wed Feb 03 05:36:21 CST 2021 Ard Biesheuvel <ardb@kernel.org> crypto: arm64/sha3-ce - simplify NEON yield

Instead of calling into kernel_neon_end() and kernel_neon_begin() (and
potentially into schedule()) from the assembler code when running in
task mode and a reschedule is pending, perform only the preempt count
check in assembler, but simply return early in this case, and let the C
code deal with the consequences.

This reverts commit 7edc86cb1c18b4c274672232117586ea2bef1d9a.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
H A Dsha3-ce-glue.c9ecc9f31 Wed Feb 03 05:36:21 CST 2021 Ard Biesheuvel <ardb@kernel.org> crypto: arm64/sha3-ce - simplify NEON yield

Instead of calling into kernel_neon_end() and kernel_neon_begin() (and
potentially into schedule()) from the assembler code when running in
task mode and a reschedule is pending, perform only the preempt count
check in assembler, but simply return early in this case, and let the C
code deal with the consequences.

This reverts commit 7edc86cb1c18b4c274672232117586ea2bef1d9a.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>