Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/7] btrfs-progs: crypto: cleanup and prepare for new architectures
@ 2026-11-09  4:09 Qu Wenruo
  2026-11-09  4:09 ` [PATCH v2 1/7] btrfs-progs: cleanup inline asm usage Qu Wenruo
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Qu Wenruo @ 2026-11-09  4:09 UTC (permalink / raw)
  To: linux-btrfs

[CHANGELOG]
v2:
- Introduce new cleanups as a preparation for new architectures
- Enhance hash-*test to bring more coverage

The patchset is split into 3 mostly independent parts:

- ASM cleanup
  Patch 1 and 2.
  To remove existing inlined or dedicated ASM file usages.
  Use compiler wrappers instead, and port an existing ASM file for
  pclmul optimization to pure C with compiler wrappers.

- Minor rename and cleanups for new architecture
  Patch 3 ~ 5.

- Enhance existing hash-*test
  Patch 6 and 7.

  To bring more block sizes.

Qu Wenruo (7):
  btrfs-progs: cleanup inline asm usage
  btrfs-progs: crypto/crc32c: port crc32c-pcl optimization to C
  btrfs-progs: rename cpu features to prepare for other archs
  btrfs-progs: simplify the cpu utils for future expanasion
  btrfs-progs: crypto: select accelerated algo directly for testing
  btrfs-progs: crypto: hash-speedtest: cover more block sizes
  btrfs-progs: crypto: hash-vectest: cover more block sizes

 .gitignore                       |   1 +
 Makefile                         |  14 --
 common/cpu-utils.c               | 104 +++------
 common/cpu-utils.h               |  19 +-
 config/ax_gcc_builtin.m4         |   1 +
 configure.ac                     |   1 +
 crypto/blake2.h                  |   2 +
 crypto/blake2b-ref.c             |  30 ++-
 crypto/crc32c-pcl-intel-asm_64.S | 370 -------------------------------
 crypto/crc32c.c                  | 320 +++++++++++++++++++++++---
 crypto/crc32c.h                  |   2 +
 crypto/hash-speedtest.c          | 179 ++++++++-------
 crypto/hash-vectest.c            | 212 ++++++++++++++++--
 crypto/hash.c                    |   9 +
 crypto/hash.h                    |   2 +
 crypto/sha.h                     |   2 +
 crypto/sha224-256.c              |  18 +-
 libbtrfs/crc32c.c                |  43 +---
 18 files changed, 676 insertions(+), 653 deletions(-)
 delete mode 100644 crypto/crc32c-pcl-intel-asm_64.S

--
2.56.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-11-11 20:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09  4:09 [PATCH v2 0/7] btrfs-progs: crypto: cleanup and prepare for new architectures Qu Wenruo
2026-11-09  4:09 ` [PATCH v2 1/7] btrfs-progs: cleanup inline asm usage Qu Wenruo
2026-11-09  4:09 ` [PATCH v2 2/7] btrfs-progs: crypto/crc32c: port crc32c-pcl optimization to C Qu Wenruo
2026-11-11 16:58   ` good crcs in userspace, " Christoph Hellwig
2026-11-11 20:28     ` Qu Wenruo
2026-11-09  4:09 ` [PATCH v2 3/7] btrfs-progs: rename cpu features to prepare for other archs Qu Wenruo
2026-11-09  4:09 ` [PATCH v2 4/7] btrfs-progs: simplify the cpu utils for future expanasion Qu Wenruo
2026-11-09  4:09 ` [PATCH v2 5/7] btrfs-progs: crypto: select accelerated algo directly for testing Qu Wenruo
2026-11-09  4:10 ` [PATCH v2 6/7] btrfs-progs: crypto: hash-speedtest: cover more block sizes Qu Wenruo
2026-11-09  4:10 ` [PATCH v2 7/7] btrfs-progs: crypto: hash-vectest: " Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox