[PATCH v2 00/12] Wire up CRC-T10DIF library functions to arch-optimized code
Eric Biggers
ebiggers at kernel.org
Thu Dec 12 13:36:52 PST 2024
On Sun, Dec 01, 2024 at 05:20:44PM -0800, Eric Biggers wrote:
> This patchset is also available in git via:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git crc-t10dif-lib-v2
>
> This patchset updates the kernel's CRC-T10DIF library functions to be
> directly optimized for x86, arm, arm64, and powerpc without taking an
> unnecessary and inefficient detour through the crypto API. It follows
> the same approach that I'm taking for CRC32 in the patchset
> https://lore.kernel.org/lkml/20241202010844.144356-1-ebiggers@kernel.org/
>
> This patchset also adds a CRC KUnit test suite that covers multiple CRC
> variants, and deletes some older ad-hoc tests that are obsoleted by it.
>
> This patchset applies to v6.13-rc1 plus my CRC32 patchset. It can be
> retrieved from git using above command. This is targeting 6.14.
>
> Changed in v2:
> - Rebased onto v6.13-rc1.
> - Tweaked crc_t10dif_arch() for arm32 and arm64 to not call
> crypto_simd_usable() more times than is necessary.
> - Added patch removing redundant crc16_kunit.c which got added in v6.13-rc1.
> - Made some small tweaks to crc_kunit.c.
> - Listed Ard as a reviewer in the MAINTAINERS entry.
> - Dropped scripts/crc from MAINTAINERS entry, as it hasn't been added yet.
> - Clarified a commit message.
> - Added Reviewed-by and Acked-by's.
FYI, this patchset is now in linux-next via the crc-next branch in my repo.
Additional reviews and acks would always be appreciated, of course.
- Eric
More information about the linux-arm-kernel
mailing list