diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2013-05-16 19:20:32 +0400 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2013-07-09 01:09:18 +0400 |
commit | 7d11965ddb9b9b1e0a5d13c58345ada1ccbc663b (patch) | |
tree | 9aec7ff11372f0194f288c13c7c83ff6ef40c87b /include/linux/raid/pq.h | |
parent | 01956597cbc46df072f20f90a40eebe356200c38 (diff) | |
download | linux-7d11965ddb9b9b1e0a5d13c58345ada1ccbc663b.tar.xz |
lib/raid6: add ARM-NEON accelerated syndrome calculation
Rebased/reworked a patch contributed by Rob Herring that uses
NEON intrinsics to perform the RAID-6 syndrome calculations.
It uses the existing unroll.awk code to generate several
unrolled versions of which the best performing one is selected
at boot time.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Cc: hpa@linux.intel.com
Diffstat (limited to 'include/linux/raid/pq.h')
-rw-r--r-- | include/linux/raid/pq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index 8dfaa2ce2e95..0f424698064f 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h @@ -114,6 +114,11 @@ extern const struct raid6_recov_calls raid6_recov_intx1; extern const struct raid6_recov_calls raid6_recov_ssse3; extern const struct raid6_recov_calls raid6_recov_avx2; +extern const struct raid6_calls raid6_neonx1; +extern const struct raid6_calls raid6_neonx2; +extern const struct raid6_calls raid6_neonx4; +extern const struct raid6_calls raid6_neonx8; + /* Algorithm list */ extern const struct raid6_calls * const raid6_algos[]; extern const struct raid6_recov_calls *const raid6_recov_algos[]; |