]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
raid6: hide internals
authorChristoph Hellwig <hch@lst.de>
Mon, 18 May 2026 05:17:52 +0000 (07:17 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:24:54 +0000 (21:24 -0700)
commit769d603fc44f896e7f61de7f0cdb8b78d46bc8c8
tree17b3c0ae7c529f4b84c1251bfc539847d65ebbea
parent2790045a62eb52a5052eed06ddcc10b03b007a39
raid6: hide internals

Split out two new headers from the public pq.h:

 - lib/raid/raid6/algos.h contains the algorithm lists private to
   lib/raid/raid6
 - include/linux/raid/pq_tables.h contains the tables also used by
   async_tx providers.

The public include/linux/pq.h is now limited to the public interface for
the consumers of the RAID6 PQ API.

[hch@lst.de: remove duplicate ccflags-y line]
Link: https://lore.kernel.org/20260527074539.2292913-2-hch@lst.de
Link: https://lore.kernel.org/20260518051804.462141-10-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>
29 files changed:
crypto/async_tx/async_pq.c
crypto/async_tx/async_raid6_recov.c
drivers/dma/bcm-sba-raid.c
include/linux/raid/pq.h
include/linux/raid/pq_tables.h [new file with mode: 0644]
lib/raid/raid6/algos.c
lib/raid/raid6/algos.h [new file with mode: 0644]
lib/raid/raid6/arm/neon.c
lib/raid/raid6/arm/recov_neon.c
lib/raid/raid6/int.uc
lib/raid/raid6/loongarch/loongarch_simd.c
lib/raid/raid6/loongarch/recov_loongarch_simd.c
lib/raid/raid6/mktables.c
lib/raid/raid6/powerpc/altivec.uc
lib/raid/raid6/powerpc/vpermxor.uc
lib/raid/raid6/recov.c
lib/raid/raid6/riscv/recov_rvv.c
lib/raid/raid6/riscv/rvv.h
lib/raid/raid6/s390/recov_s390xc.c
lib/raid/raid6/s390/s390vx.uc
lib/raid/raid6/tests/raid6_kunit.c
lib/raid/raid6/x86/avx2.c
lib/raid/raid6/x86/avx512.c
lib/raid/raid6/x86/mmx.c
lib/raid/raid6/x86/recov_avx2.c
lib/raid/raid6/x86/recov_avx512.c
lib/raid/raid6/x86/recov_ssse3.c
lib/raid/raid6/x86/sse1.c
lib/raid/raid6/x86/sse2.c