diff options
| author | Ard Biesheuvel <[email protected]> | 2013-05-16 15:20:32 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2013-07-08 21:09:18 +0000 |
| commit | 7d11965ddb9b9b1e0a5d13c58345ada1ccbc663b (patch) | |
| tree | 9aec7ff11372f0194f288c13c7c83ff6ef40c87b /lib/raid6/algos.c | |
| parent | ARM: crypto: add NEON accelerated XOR implementation (diff) | |
| download | kernel-7d11965ddb9b9b1e0a5d13c58345ada1ccbc663b.tar.gz kernel-7d11965ddb9b9b1e0a5d13c58345ada1ccbc663b.zip | |
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 <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/raid6/algos.c')
| -rw-r--r-- | lib/raid6/algos.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c index 6d7316fe9f30..74e6f5629dbc 100644 --- a/lib/raid6/algos.c +++ b/lib/raid6/algos.c @@ -70,6 +70,12 @@ const struct raid6_calls * const raid6_algos[] = { &raid6_intx2, &raid6_intx4, &raid6_intx8, +#ifdef CONFIG_KERNEL_MODE_NEON + &raid6_neonx1, + &raid6_neonx2, + &raid6_neonx4, + &raid6_neonx8, +#endif NULL }; |
