commit | fc754c024a343b836cfbb794afd3c7a87f625dbb | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ardb@kernel.org> | Wed Feb 03 12:36:25 2021 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Feb 10 17:55:58 2021 +1100 |
tree | b8ac74fbba399721a116d8be67033e28bcfe8c45 | |
parent | f0070f4a7934e4deba83fdde70c79d9798b2366b [diff] |
crypto: arm64/crc-t10dif - move NEON yield to C code Instead of yielding from the bowels of the asm routine if a reschedule is needed, divide up the input into 4 KB chunks in the C glue. This simplifies the code substantially, and avoids scheduling out the task with the asm routine on the call stack, which is undesirable from a CFI/instrumentation point of view. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>