diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-07-13 13:16:01 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-08-09 13:52:07 -0400 |
commit | 6ec4e2514decd6fb4782a9364fa71d6244d05af4 (patch) | |
tree | e555e55f6e136bc749a01cf600620ee3f7c7671b /lib/raid6/algos.c | |
parent | 35129dde88afad07f54b332d4f9eda2d254b80f2 (diff) |
md/raid6: implement recovery using ARM NEON intrinsics
Provide a NEON accelerated implementation of the recovery algorithm,
which supersedes the default byte-by-byte one.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'lib/raid6/algos.c')
-rw-r--r-- | lib/raid6/algos.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c index 7857049fd7d3..476994723258 100644 --- a/lib/raid6/algos.c +++ b/lib/raid6/algos.c | |||
@@ -113,6 +113,9 @@ const struct raid6_recov_calls *const raid6_recov_algos[] = { | |||
113 | #ifdef CONFIG_S390 | 113 | #ifdef CONFIG_S390 |
114 | &raid6_recov_s390xc, | 114 | &raid6_recov_s390xc, |
115 | #endif | 115 | #endif |
116 | #if defined(CONFIG_KERNEL_MODE_NEON) | ||
117 | &raid6_recov_neon, | ||
118 | #endif | ||
116 | &raid6_recov_intx1, | 119 | &raid6_recov_intx1, |
117 | NULL | 120 | NULL |
118 | }; | 121 | }; |