Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3e223a8
xor: assert that xor_blocks is not from preemptible user context
Mar 11, 2026
cfa1384
arm/xor: remove in_interrupt() handling
Mar 11, 2026
7eb037e
um/xor: cleanup xor.h
Mar 11, 2026
3868ff3
xor: move to lib/raid/
Mar 11, 2026
8ff9210
xor: small cleanups
Mar 11, 2026
c5a1d4a
xor: cleanup registration and probing
Mar 11, 2026
1bac008
xor: split xor.h
Mar 11, 2026
f34dcbd
xor: remove macro abuse for XOR implementation registrations
Mar 11, 2026
28fe885
xor: move generic implementations out of asm-generic/xor.h
Mar 11, 2026
498c4de
alpha: move the XOR code to lib/raid/
Mar 11, 2026
22fe19d
arm: move the XOR code to lib/raid/
Mar 11, 2026
f372995
arm64: move the XOR code to lib/raid/
Mar 11, 2026
1da4577
loongarch: move the XOR code to lib/raid/
Mar 11, 2026
b3c2f18
powerpc: move the XOR code to lib/raid/
Mar 11, 2026
6f60d20
riscv: move the XOR code to lib/raid/
Mar 11, 2026
459d30e
sparc: move the XOR code to lib/raid/
Mar 11, 2026
84482bd
s390: move the XOR code to lib/raid/
Mar 11, 2026
31e8de9
x86: move the XOR code to lib/raid/
Mar 11, 2026
64fdadb
xor: avoid indirect calls for arm64-optimized ops
Mar 11, 2026
b154b5e
xor: make xor.ko self-contained in lib/raid/
Mar 11, 2026
462d0f2
xor: add a better public API
Mar 11, 2026
4770a5b
async_xor: use xor_gen
Mar 11, 2026
5d26ffc
btrfs: use xor_gen
Mar 11, 2026
ff3c410
xor: pass the entire operation to the low-level ops
Mar 11, 2026
82da77d
xor: use static_call for xor_gen
Mar 11, 2026
dcd6ac9
random: factor out a __limit_random_u32_below helper
Mar 11, 2026
a6f5f9e
xor: add a kunit test case
Mar 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/alpha/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ config ALPHA
select MMU_GATHER_NO_RANGE
select MMU_GATHER_RCU_TABLE_FREE
select SPARSEMEM_EXTREME if SPARSEMEM
select XOR_BLOCKS_ARCH
select ZONE_DMA
help
The Alpha is a 64-bit general-purpose processor designed and
Expand Down
1 change: 1 addition & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ config ARM
select HAVE_ARCH_VMAP_STACK if MMU && ARM_HAS_GROUP_RELOCS
select TRACE_IRQFLAGS_SUPPORT if !CPU_V7M
select USE_OF if !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100)
select XOR_BLOCKS_ARCH
# Above selects are sorted alphabetically; please add new ones
# according to that. Thanks.
help
Expand Down
5 changes: 0 additions & 5 deletions arch/arm/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,4 @@ endif
$(obj)/csumpartialcopy.o: $(obj)/csumpartialcopygeneric.S
$(obj)/csumpartialcopyuser.o: $(obj)/csumpartialcopygeneric.S

ifeq ($(CONFIG_KERNEL_MODE_NEON),y)
CFLAGS_xor-neon.o += $(CC_FLAGS_FPU)
obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o
endif

obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
1 change: 1 addition & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ config ARM64
select USER_STACKTRACE_SUPPORT
select VDSO_GETRANDOM
select VMAP_STACK
select XOR_BLOCKS_ARCH
help
ARM 64-bit (AArch64) Linux support.

Expand Down
73 changes: 0 additions & 73 deletions arch/arm64/include/asm/xor.h

This file was deleted.

6 changes: 0 additions & 6 deletions arch/arm64/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ lib-y := clear_user.o delay.o copy_from_user.o \
memset.o memcmp.o strcmp.o strncmp.o strlen.o \
strnlen.o strchr.o strrchr.o tishift.o

ifeq ($(CONFIG_KERNEL_MODE_NEON), y)
obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o
CFLAGS_xor-neon.o += $(CC_FLAGS_FPU)
CFLAGS_REMOVE_xor-neon.o += $(CC_FLAGS_NO_FPU)
endif

lib-$(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) += uaccess_flushcache.o

obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
Expand Down
1 change: 1 addition & 0 deletions arch/loongarch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ config LOONGARCH
select USE_PERCPU_NUMA_NODE_ID
select USER_STACKTRACE_SUPPORT
select VDSO_GETRANDOM
select XOR_BLOCKS_ARCH
select ZONE_DMA32

config 32BIT
Expand Down
68 changes: 0 additions & 68 deletions arch/loongarch/include/asm/xor.h

This file was deleted.

34 changes: 0 additions & 34 deletions arch/loongarch/include/asm/xor_simd.h

This file was deleted.

2 changes: 0 additions & 2 deletions arch/loongarch/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ lib-y += delay.o memset.o memcpy.o memmove.o \

obj-$(CONFIG_ARCH_SUPPORTS_INT128) += tishift.o

obj-$(CONFIG_CPU_HAS_LSX) += xor_simd.o xor_simd_glue.o

obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
72 changes: 0 additions & 72 deletions arch/loongarch/lib/xor_simd_glue.c

This file was deleted.

1 change: 1 addition & 0 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ config PPC
select THREAD_INFO_IN_TASK
select TRACE_IRQFLAGS_SUPPORT
select VDSO_GETRANDOM
select XOR_BLOCKS_ARCH
#
# Please keep this list sorted alphabetically.
#
Expand Down
47 changes: 0 additions & 47 deletions arch/powerpc/include/asm/xor.h

This file was deleted.

22 changes: 0 additions & 22 deletions arch/powerpc/include/asm/xor_altivec.h

This file was deleted.

Loading
Loading