Thread (14 messages) 14 messages, 6 authors, 2025-09-21

Re: [PATCH 2/5] crypto/arm64: sm4-ce-ccm - Avoid pointless yield of the NEON unit

From: Mark Brown <broonie@kernel.org>
Date: 2025-09-19 16:03:07
Also in: linux-crypto, lkml

On Thu, Sep 18, 2025 at 08:35:42AM +0200, Ard Biesheuvel wrote:
From: Ard Biesheuvel <ardb@kernel.org>

Kernel mode NEON sections are now preemptible on arm64, and so there is
no need to yield it when calling APIs that may sleep.

Also, move the calls to kernel_neon_end() to the same scope as
kernel_neon_begin(). This is needed for a subsequent change where a
stack buffer is allocated transparently and passed to
kernel_neon_begin().
Reviewed-by: Mark Brown <broonie@kernel.org>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help