[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250927195257.GA9798@quark>
Date: Sat, 27 Sep 2025 12:52:57 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
kunit-dev@...glegroups.com, Ard Biesheuvel <ardb@...nel.org>,
Rakuram Eswaran <rakuram.e96@...il.com>
Subject: [GIT PULL] CRC updates for 6.18
The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:
Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/crc-for-linus
for you to fetch changes up to 136d029662cdde77d3e4db5c07de655f35f0239f:
Documentation/staging: Fix typo and incorrect citation in crc32.rst (2025-08-20 23:53:32 -0400)
----------------------------------------------------------------
Update crc_kunit to test the CRC functions in softirq and hardirq
contexts, similar to what the lib/crypto/ KUnit tests do. Move the
helper function needed to do this into a common header.
This is useful mainly to test fallback code paths for when
FPU/SIMD/vector registers are unusable.
----------------------------------------------------------------
Eric Biggers (4):
kunit, lib/crypto: Move run_irq_test() to common header
lib/crc: crc_kunit: Test CRC computation in interrupt contexts
lib/crc: Use underlying functions instead of crypto_simd_usable()
lib/crc: Drop inline from all *_mod_init_arch() functions
Rakuram Eswaran (1):
Documentation/staging: Fix typo and incorrect citation in crc32.rst
Documentation/staging/crc32.rst | 4 +-
include/kunit/run-in-irq-context.h | 129 ++++++++++++++++++++++++++++++++++
lib/crc/arm/crc-t10dif.h | 8 +--
lib/crc/arm/crc32.h | 8 +--
lib/crc/arm64/crc-t10dif.h | 8 +--
lib/crc/arm64/crc32.h | 11 +--
lib/crc/loongarch/crc32.h | 2 +-
lib/crc/mips/crc32.h | 2 +-
lib/crc/powerpc/crc-t10dif.h | 7 +-
lib/crc/powerpc/crc32.h | 7 +-
lib/crc/sparc/crc32.h | 2 +-
lib/crc/tests/crc_kunit.c | 62 +++++++++++++---
lib/crc/x86/crc-pclmul-template.h | 3 +-
lib/crc/x86/crc-t10dif.h | 2 +-
lib/crc/x86/crc32.h | 4 +-
lib/crc/x86/crc64.h | 2 +-
lib/crypto/tests/hash-test-template.h | 123 ++------------------------------
17 files changed, 219 insertions(+), 165 deletions(-)
create mode 100644 include/kunit/run-in-irq-context.h
Powered by blists - more mailing lists