aboutsummaryrefslogtreecommitdiffstats
path: root/lib/raid6/algos.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <[email protected]>2016-08-31 07:27:35 +0000
committerMartin Schwidefsky <[email protected]>2016-09-01 14:13:25 +0000
commitf5b55fa1f81d518925d68b50d2316850c525d1ad (patch)
treec4a75615884dff7236b788a774fdfb04892a3bfe /lib/raid6/algos.c
parents390/crypto: simplify CPACF encryption / decryption functions (diff)
downloadkernel-f5b55fa1f81d518925d68b50d2316850c525d1ad.tar.gz
kernel-f5b55fa1f81d518925d68b50d2316850c525d1ad.zip
RAID/s390: provide raid6 recovery optimization
The XC instruction can be used to improve the speed of the raid6 recovery. The loops now operate on blocks of 256 bytes. Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
-rw-r--r--lib/raid6/algos.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c
index e1923b602bbc..592ff49df47d 100644
--- a/lib/raid6/algos.c
+++ b/lib/raid6/algos.c
@@ -98,6 +98,9 @@ const struct raid6_recov_calls *const raid6_recov_algos[] = {
#ifdef CONFIG_AS_SSSE3
&raid6_recov_ssse3,
#endif
+#ifdef CONFIG_S390
+ &raid6_recov_s390xc,
+#endif
&raid6_recov_intx1,
NULL
};