Skip to contentSkip to conversation

CRC updates for 6.18

GIT PULL Merged Eric Biggers 2 participants 2 messages Sep 27, 2025 – Sep 29, 2025 Crypto API

lore
Share & tools
lore
#0 lore raw

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
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 27 Sep 2025 12:52:57 -0700:

The pull request you sent on Sat, 27 Sep 2025 12:52:57 -0700:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/crc-for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e2fffe1d958b3660bc4e07e6542d97b6cc168826

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html