Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-26 Thread Herbert Xu
On Tue, Nov 25, 2014 at 10:50:12AM -0600, Yazen Ghannam wrote: > Herbert, > > I have a couple of questions. > > 1) To which release has the patch been applied? We're just curious for > tracking purposes. 3.19 > 2) I'd like to apply Ard's suggestion. Do you prefer a second version > of this

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-26 Thread Herbert Xu
On Tue, Nov 25, 2014 at 10:50:12AM -0600, Yazen Ghannam wrote: Herbert, I have a couple of questions. 1) To which release has the patch been applied? We're just curious for tracking purposes. 3.19 2) I'd like to apply Ard's suggestion. Do you prefer a second version of this patch or a

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-25 Thread Yazen Ghannam
Herbert, I have a couple of questions. 1) To which release has the patch been applied? We're just curious for tracking purposes. 2) I'd like to apply Ard's suggestion. Do you prefer a second version of this patch or a separate fixup patch? Thanks, Yazen On Fri, Nov 21, 2014 at 3:39 PM, Ard

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-25 Thread Yazen Ghannam
Herbert, I have a couple of questions. 1) To which release has the patch been applied? We're just curious for tracking purposes. 2) I'd like to apply Ard's suggestion. Do you prefer a second version of this patch or a separate fixup patch? Thanks, Yazen On Fri, Nov 21, 2014 at 3:39 PM, Ard

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-21 Thread Ard Biesheuvel
On 20 November 2014 15:22, Yazen Ghannam wrote: > +linux-arm-ker...@lists.infradead.org > > On Wed, Nov 19, 2014 at 11:19 AM, Yazen Ghannam > wrote: >> This module registers a crc32 algorithm and a crc32c algorithm >> that use the optional CRC32 and CRC32C instructions in ARMv8. >> >> Tested on

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-21 Thread Ard Biesheuvel
On 20 November 2014 15:22, Yazen Ghannam yazen.ghan...@linaro.org wrote: +linux-arm-ker...@lists.infradead.org On Wed, Nov 19, 2014 at 11:19 AM, Yazen Ghannam yazen.ghan...@linaro.org wrote: This module registers a crc32 algorithm and a crc32c algorithm that use the optional CRC32 and CRC32C

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-20 Thread Herbert Xu
On Thu, Nov 20, 2014 at 07:42:23AM -0600, Yazen Ghannam wrote: > +linux-arm-ker...@lists.infradead.org > > On Wed, Nov 19, 2014 at 11:19 AM, Yazen Ghannam > wrote: > > > This module registers a crc32 algorithm and a crc32c algorithm > > that use the optional CRC32 and CRC32C instructions in

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-20 Thread Yazen Ghannam
+linux-arm-ker...@lists.infradead.org On Wed, Nov 19, 2014 at 11:19 AM, Yazen Ghannam wrote: > This module registers a crc32 algorithm and a crc32c algorithm > that use the optional CRC32 and CRC32C instructions in ARMv8. > > Tested on AMD Seattle. > > Improvement compared to crc32c-generic

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-20 Thread Yazen Ghannam
+linux-arm-ker...@lists.infradead.org On Wed, Nov 19, 2014 at 11:19 AM, Yazen Ghannam yazen.ghan...@linaro.org wrote: This module registers a crc32 algorithm and a crc32c algorithm that use the optional CRC32 and CRC32C instructions in ARMv8. Tested on AMD Seattle. Improvement compared to

Re: [PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-20 Thread Herbert Xu
On Thu, Nov 20, 2014 at 07:42:23AM -0600, Yazen Ghannam wrote: +linux-arm-ker...@lists.infradead.org On Wed, Nov 19, 2014 at 11:19 AM, Yazen Ghannam yazen.ghan...@linaro.org wrote: This module registers a crc32 algorithm and a crc32c algorithm that use the optional CRC32 and CRC32C

[PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-19 Thread Yazen Ghannam
This module registers a crc32 algorithm and a crc32c algorithm that use the optional CRC32 and CRC32C instructions in ARMv8. Tested on AMD Seattle. Improvement compared to crc32c-generic algorithm: TCRYPT CRC32C speed test shows ~450% speedup. Simple dd write tests to btrfs filesystem show ~30%

[PATCH] arm64: crypto: Add ARM64 CRC32 hw accelerated module

2014-11-19 Thread Yazen Ghannam
This module registers a crc32 algorithm and a crc32c algorithm that use the optional CRC32 and CRC32C instructions in ARMv8. Tested on AMD Seattle. Improvement compared to crc32c-generic algorithm: TCRYPT CRC32C speed test shows ~450% speedup. Simple dd write tests to btrfs filesystem show ~30%