diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2013-05-16 11:20:32 -0400 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2013-07-08 17:09:18 -0400 |
commit | 7d11965ddb9b9b1e0a5d13c58345ada1ccbc663b (patch) | |
tree | 9aec7ff11372f0194f288c13c7c83ff6ef40c87b /include/linux/raid/pq.h | |
parent | 01956597cbc46df072f20f90a40eebe356200c38 (diff) |
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; | |||
114 | extern const struct raid6_recov_calls raid6_recov_ssse3; | 114 | extern const struct raid6_recov_calls raid6_recov_ssse3; |
115 | extern const struct raid6_recov_calls raid6_recov_avx2; | 115 | extern const struct raid6_recov_calls raid6_recov_avx2; |
116 | 116 | ||
117 | extern const struct raid6_calls raid6_neonx1; | ||
118 | extern const struct raid6_calls raid6_neonx2; | ||
119 | extern const struct raid6_calls raid6_neonx4; | ||
120 | extern const struct raid6_calls raid6_neonx8; | ||
121 | |||
117 | /* Algorithm list */ | 122 | /* Algorithm list */ |
118 | extern const struct raid6_calls * const raid6_algos[]; | 123 | extern const struct raid6_calls * const raid6_algos[]; |
119 | extern const struct raid6_recov_calls *const raid6_recov_algos[]; | 124 | extern const struct raid6_recov_calls *const raid6_recov_algos[]; |