milos-linux/lib/raid6
Chunyan Zhang 3c58d7a513 raid6: riscv: Allow code to be compiled in userspace
To support userspace raid6test, this patch adds __KERNEL__ ifdef for kernel
header inclusions also userspace wrapper definitions to allow code to be
compiled in userspace.

This patch also drops the NSIZE macro, instead of using the vector length,
which can work for both kernel and user space.

Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Chunyan Zhang <zhangchunyan@iscas.ac.cn>
Link: https://patch.msgid.link/20250718072711.3865118-5-zhangchunyan@iscas.ac.cn
Signed-off-by: Paul Walmsley <pjw@kernel.org>
2025-11-19 09:19:28 -07:00
..
test raid6: skip avx512 checks 2025-04-30 21:53:48 +02:00
.gitignore
algos.c lib/raid6: replace custom zero page with ZERO_PAGE 2025-07-09 22:57:54 -07:00
altivec.uc
avx2.c
avx512.c raid6: skip avx512 checks 2025-04-30 21:53:48 +02:00
int.uc lib/raid6: Drop IA64 support 2023-09-11 08:13:18 +00:00
loongarch.h raid6: Add LoongArch SIMD syndrome calculation 2023-09-06 22:53:55 +08:00
loongarch_simd.c raid6: Add LoongArch SIMD syndrome calculation 2023-09-06 22:53:55 +08:00
Makefile raid6: Add RISC-V SIMD syndrome and recovery calculations 2025-06-05 14:03:07 -07:00
mktables.c
mmx.c
neon.c
neon.h
neon.uc
recov.c lib/raid6: replace custom zero page with ZERO_PAGE 2025-07-09 22:57:54 -07:00
recov_avx2.c lib/raid6: replace custom zero page with ZERO_PAGE 2025-07-09 22:57:54 -07:00
recov_avx512.c lib/raid6: replace custom zero page with ZERO_PAGE 2025-07-09 22:57:54 -07:00
recov_loongarch_simd.c lib/raid6: replace custom zero page with ZERO_PAGE 2025-07-09 22:57:54 -07:00
recov_neon.c lib/raid6: replace custom zero page with ZERO_PAGE 2025-07-09 22:57:54 -07:00
recov_neon_inner.c
recov_rvv.c raid6: riscv: Allow code to be compiled in userspace 2025-11-19 09:19:28 -07:00
recov_s390xc.c Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
recov_ssse3.c lib/raid6: replace custom zero page with ZERO_PAGE 2025-07-09 22:57:54 -07:00
rvv.c raid6: riscv: Allow code to be compiled in userspace 2025-11-19 09:19:28 -07:00
rvv.h raid6: riscv: Allow code to be compiled in userspace 2025-11-19 09:19:28 -07:00
s390vx.uc s390/vx: Convert cpu_has_vx() to cpu feature function 2025-03-04 17:18:07 +01:00
sse1.c
sse2.c
unroll.awk
vpermxor.uc
x86.h