]> git.ipfire.org Git - thirdparty/linux.git/commit
raid6: move to lib/raid/
authorChristoph Hellwig <hch@lst.de>
Mon, 18 May 2026 05:17:46 +0000 (07:17 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:24:53 +0000 (21:24 -0700)
commit3626738bc7147d52cb49f3994a9846aa2d34810a
tree683cf2b4f8028ae1d915dcd5a549047d0971e311
parent3d6beb659ddf0664612bafacb0bd9030ba6ec7e6
raid6: move to lib/raid/

Move the raid6 code to live in lib/raid/ with the XOR code, and change the
internal organization so that each architecture has a subdirectory similar
to the CRC, crypto and XOR libraries, and fix up the Makefile to only
build files actually needed.

Also move the kunit test case from the history test/ subdirectory to
tests/ and use the normal naming scheme for it.

Link: https://lore.kernel.org/20260518051804.462141-4-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Ard Biesheuvel <ardb@kernel.org> # kunit only on arm64
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Alexandre Ghiti <alex@ghiti.fr>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: "Borislav Petkov (AMD)" <bp@alien8.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chris Mason <clm@fb.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: David Sterba <dsterba@suse.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Li Nan <linan122@huawei.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Song Liu <song@kernel.org>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: WANG Xuerui <kernel@xen0n.name>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
38 files changed:
MAINTAINERS
lib/Kconfig
lib/Makefile
lib/raid/Kconfig
lib/raid/Makefile
lib/raid/raid6/.gitignore [moved from lib/raid6/.gitignore with 100% similarity]
lib/raid/raid6/Makefile [new file with mode: 0644]
lib/raid/raid6/algos.c [moved from lib/raid6/algos.c with 100% similarity]
lib/raid/raid6/arm/neon.c [moved from lib/raid6/neon.c with 100% similarity]
lib/raid/raid6/arm/neon.h [moved from lib/raid6/neon.h with 100% similarity]
lib/raid/raid6/arm/neon.uc [moved from lib/raid6/neon.uc with 99% similarity]
lib/raid/raid6/arm/recov_neon.c [moved from lib/raid6/recov_neon.c with 99% similarity]
lib/raid/raid6/arm/recov_neon_inner.c [moved from lib/raid6/recov_neon_inner.c with 99% similarity]
lib/raid/raid6/int.uc [moved from lib/raid6/int.uc with 100% similarity]
lib/raid/raid6/loongarch/loongarch_simd.c [moved from lib/raid6/loongarch_simd.c with 100% similarity]
lib/raid/raid6/loongarch/recov_loongarch_simd.c [moved from lib/raid6/recov_loongarch_simd.c with 100% similarity]
lib/raid/raid6/mktables.c [moved from lib/raid6/mktables.c with 100% similarity]
lib/raid/raid6/powerpc/altivec.uc [moved from lib/raid6/altivec.uc with 98% similarity]
lib/raid/raid6/powerpc/vpermxor.uc [moved from lib/raid6/vpermxor.uc with 98% similarity]
lib/raid/raid6/recov.c [moved from lib/raid6/recov.c with 100% similarity]
lib/raid/raid6/riscv/recov_rvv.c [moved from lib/raid6/recov_rvv.c with 100% similarity]
lib/raid/raid6/riscv/rvv.c [moved from lib/raid6/rvv.c with 100% similarity]
lib/raid/raid6/riscv/rvv.h [moved from lib/raid6/rvv.h with 100% similarity]
lib/raid/raid6/s390/recov_s390xc.c [moved from lib/raid6/recov_s390xc.c with 100% similarity]
lib/raid/raid6/s390/s390vx.uc [moved from lib/raid6/s390vx.uc with 100% similarity]
lib/raid/raid6/tests/Makefile [moved from lib/raid6/test/Makefile with 77% similarity]
lib/raid/raid6/tests/raid6_kunit.c [moved from lib/raid6/test/test.c with 100% similarity]
lib/raid/raid6/unroll.awk [moved from lib/raid6/unroll.awk with 100% similarity]
lib/raid/raid6/x86/avx2.c [moved from lib/raid6/avx2.c with 100% similarity]
lib/raid/raid6/x86/avx512.c [moved from lib/raid6/avx512.c with 100% similarity]
lib/raid/raid6/x86/mmx.c [moved from lib/raid6/mmx.c with 99% similarity]
lib/raid/raid6/x86/recov_avx2.c [moved from lib/raid6/recov_avx2.c with 100% similarity]
lib/raid/raid6/x86/recov_avx512.c [moved from lib/raid6/recov_avx512.c with 100% similarity]
lib/raid/raid6/x86/recov_ssse3.c [moved from lib/raid6/recov_ssse3.c with 100% similarity]
lib/raid/raid6/x86/sse1.c [moved from lib/raid6/sse1.c with 99% similarity]
lib/raid/raid6/x86/sse2.c [moved from lib/raid6/sse2.c with 100% similarity]
lib/raid6/Makefile [deleted file]
lib/raid6/test/.gitignore [deleted file]