Re: [v5 2/2] raid6/altivec: Add vpermxor implementation for raid6 Q syndrome

2017-08-03 Thread Matt Brown
On Wed, Aug 2, 2017 at 10:20 AM, Daniel Axtens wrote: > Oh, one final thing - I just realised there's a .gitignore file in > lib/raid6/.gitignore that needs to be updated to include the vpermxor > generated files. That should be part of this patch. > Oh, I managed to miss that! I'll add that and

Re: [v5 2/2] raid6/altivec: Add vpermxor implementation for raid6 Q syndrome

2017-08-01 Thread Michael Ellerman
Daniel Axtens writes: > Hi Matt, > >> The raid6 Q syndrome check has been optimised using the vpermxor >> instruction. > > Very much a nit, but normally we'd write the change that the patch makes > as a command: "Optimise the raid6 Q syndrome generation using the > vpermxor instruction" - see > h

Re: [v5 2/2] raid6/altivec: Add vpermxor implementation for raid6 Q syndrome

2017-08-01 Thread Daniel Axtens
Oh, one final thing - I just realised there's a .gitignore file in lib/raid6/.gitignore that needs to be updated to include the vpermxor generated files. That should be part of this patch. Regards, Daniel

Re: [v5 2/2] raid6/altivec: Add vpermxor implementation for raid6 Q syndrome

2017-08-01 Thread Daniel Axtens
Hi Matt, > The raid6 Q syndrome check has been optimised using the vpermxor > instruction. Very much a nit, but normally we'd write the change that the patch makes as a command: "Optimise the raid6 Q syndrome generation using the vpermxor instruction" - see https://www.kernel.org/doc/html/v4.11/p

[v5 2/2] raid6/altivec: Add vpermxor implementation for raid6 Q syndrome

2017-04-27 Thread Matt Brown
The raid6 Q syndrome check has been optimised using the vpermxor instruction. This instruction was made available with POWER8, ISA version 2.07. It allows for both vperm and vxor instructions to be done in a single instruction. This has been tested for correctness on a ppc64le vm with a basic RAID6