[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251017170335.GC1566@sol>
Date: Fri, 17 Oct 2025 10:03:35 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: Ard Biesheuvel <ardb+git@...gle.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, herbert@...dor.apana.org.au,
Ard Biesheuvel <ardb@...nel.org>
Subject: Re: [PATCH v3 02/21] crypto/arm64: sm4-ce-ccm - Avoid pointless
yield of the NEON unit
On Wed, Oct 08, 2025 at 05:45:36PM +0200, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb@...nel.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().
>
> Acked-by: Eric Biggers <ebiggers@...nel.org>
> [ardb: Simplify convoluted logic]
> Signed-off-by: Ard Biesheuvel <ardb@...nel.org>
Reviewed-by: Eric Biggers <ebiggers@...nel.org>
- Eric
Powered by blists - more mailing lists