Home
last modified time | relevance | path

Searched hist:"5 a69e1b73d5460953b8198ab03e9e1c86c5aeb11" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm64/crypto/
H A Dsha1-ce-core.Sdiff 5a69e1b73d5460953b8198ab03e9e1c86c5aeb11 Wed Feb 03 05:36:19 CST 2021 Ard Biesheuvel <ardb@kernel.org> crypto: arm64/sha1-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 7df8d164753e6e6f229b72767595072bc6a71f48.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
H A Dsha1-ce-glue.cdiff 5a69e1b73d5460953b8198ab03e9e1c86c5aeb11 Wed Feb 03 05:36:19 CST 2021 Ard Biesheuvel <ardb@kernel.org> crypto: arm64/sha1-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 7df8d164753e6e6f229b72767595072bc6a71f48.

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