Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: linux-crypto@vger.kernel.org
Cc: Ard Biesheuvel <ardb@kernel.org>,
	"Jason A . Donenfeld" <Jason@zx2c4.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	x86@kernel.org
Subject: Re: [PATCH] lib/crypto: x86/nh: Remove unnecessary check for SSE2 support on x86_64
Date: Sat, 7 Nov 2026 14:04:58 -0800	[thread overview]
Message-ID: <20261107220458.GN137269@quark> (raw)
In-Reply-To: <20261105043710.310742-1-ebiggers@kernel.org>

On Wed, Nov 04, 2026 at 08:37:10PM -0800, Eric Biggers wrote:
> Remove the unnecessary check for X86_FEATURE_XMM2 (and the have_sse2
> static key it controls) from the x86_64 optimized NH code.
> 
> This code is 64-bit only, and x86_64 kernels require X86_FEATURE_XMM2.
> (See X86_REQUIRED_FEATURE_XMM2.)
> 
> Also replace <linux/static_call.h> with <linux/jump_label.h>, since this
> file uses static keys, not static calls.
> 
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
>  lib/crypto/x86/nh.h | 13 ++++---------
>  1 file changed, 4 insertions(+), 9 deletions(-)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

- Eric

      reply	other threads:[~2026-11-07 22:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05  4:37 [PATCH] lib/crypto: x86/nh: Remove unnecessary check for SSE2 support on x86_64 Eric Biggers
2026-11-07 22:04 ` Eric Biggers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261107220458.GN137269@quark \
    --to=ebiggers@kernel.org \
    --cc=Jason@zx2c4.com \
    --cc=ardb@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox