Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

s390: move the XOR code to lib/raid/

Move the optimized XOR into lib/raid and include it it in xor.ko instead
of unconditionally building it into the main kernel image.

Link: https://lkml.kernel.org/r/20260327061704.3707577-19-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Eric Biggers <ebiggers@kernel.org>
Tested-by: Eric Biggers <ebiggers@kernel.org>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Alexandre Ghiti <alex@ghiti.fr>
Cc: Andreas Larsson <andreas@gaisler.com>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
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 S. Miller <davem@davemloft.net>
Cc: David Sterba <dsterba@suse.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: Jason A. Donenfeld <jason@zx2c4.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Li Nan <linan122@huawei.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Magnus Lindholm <linmag7@gmail.com>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Song Liu <song@kernel.org>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Ted Ts'o <tytso@mit.edu>
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>

authored by

Christoph Hellwig and committed by
Andrew Morton
95c104cc 7f963623

+2 -3
+1 -1
arch/s390/lib/Makefile
··· 5 5 6 6 lib-y += delay.o string.o uaccess.o find.o spinlock.o tishift.o 7 7 lib-y += csum-partial.o 8 - obj-y += mem.o xor.o 8 + obj-y += mem.o 9 9 lib-$(CONFIG_KPROBES) += probes.o 10 10 lib-$(CONFIG_UPROBES) += probes.o 11 11 obj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
-2
arch/s390/lib/xor.c lib/raid/xor/s390/xor.c
··· 7 7 */ 8 8 9 9 #include <linux/types.h> 10 - #include <linux/export.h> 11 10 #include <linux/raid/xor_impl.h> 12 11 #include <asm/xor.h> 13 12 ··· 132 133 .do_4 = xor_xc_4, 133 134 .do_5 = xor_xc_5, 134 135 }; 135 - EXPORT_SYMBOL(xor_block_xc);
+1
lib/raid/xor/Makefile
··· 20 20 xor-$(CONFIG_RISCV_ISA_V) += riscv/xor.o riscv/xor-glue.o 21 21 xor-$(CONFIG_SPARC32) += sparc/xor-sparc32.o 22 22 xor-$(CONFIG_SPARC64) += sparc/xor-sparc64.o sparc/xor-sparc64-glue.o 23 + xor-$(CONFIG_S390) += s390/xor.o 23 24 24 25 25 26 CFLAGS_arm/xor-neon.o += $(CC_FLAGS_FPU)