All of lore.kernel.org
 help / color / mirror / Atom feed
From: Emanuele Rocca <emanuele.rocca@arm.com>
To: Eric Biggers <ebiggers@kernel.org>
Cc: Ard Biesheuvel <ardb@kernel.org>,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lib/crc: arm64: use .arch_extension to enable CRC and crypto
Date: Fri, 6 Nov 2026 08:16:56 +0000	[thread overview]
Message-ID: <au2M-JBEobgEETQh@arm.com> (raw)
In-Reply-To: <20261105194220.GC3266627@google.com>

Hi Eric,

On 2026-11-05 07:42, Eric Biggers wrote:
> Thanks.  Just to confirm, all supported versions of binutils and clang
> support this?  (As per Documentation/process/changes.rst, the kernel
> currently supports binutils 2.30 and later, and clang 17.0.1 and later.)

Yes, binutils supports .arch_extension since 2.26:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ae527cd876fe35de72d876d3484e194ccc66232f

$ git tag --contains ae527cd876fe35de72d876d3484e194ccc66232f | head -1
binutils-2_26

clang added support in 8.0.0:
https://releases.llvm.org/8.0.0/docs/ReleaseNotes.html#changes-to-the-aarch64-target

> A lot of the arm64 crypto code uses ".arch armv8-a+crypto".  Should
> those be replaced with ".arch_extension	crypto" for the same reason?

I think so, yes. Let me look more closely, I'll send another series for
those if they need changing as well.

Thanks!
  Emanuele

  reply	other threads:[~2026-11-06  8:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 15:41 [PATCH] lib/crc: arm64: use .arch_extension to enable CRC and crypto Emanuele Rocca
2026-11-05 19:42 ` Eric Biggers
2026-11-06  8:16   ` Emanuele Rocca [this message]
2026-11-06  8:57 ` Ard Biesheuvel
2026-11-07 21:37   ` Eric Biggers

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=au2M-JBEobgEETQh@arm.com \
    --to=emanuele.rocca@arm.com \
    --cc=ardb@kernel.org \
    --cc=ebiggers@kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.