Re: [PATCH] crypto: arm64/crc32 - detect crc32 support in assembler

2017-02-01 Thread Ard Biesheuvel
On 1 February 2017 at 13:58, Alexander Graf wrote: > On 02/01/2017 10:43 AM, Ard Biesheuvel wrote: >> >> On 1 February 2017 at 09:07, Ard Biesheuvel >> wrote: >>> >>> On 27 January 2017 at 10:52, Will Deacon wrote: On Fri, Jan 27, 2017 at 10:43:16AM +, Ard Biesheuvel wrote: > >

Re: [PATCH] crypto: arm64/crc32 - detect crc32 support in assembler

2017-02-01 Thread Alexander Graf
On 02/01/2017 10:43 AM, Ard Biesheuvel wrote: On 1 February 2017 at 09:07, Ard Biesheuvel wrote: On 27 January 2017 at 10:52, Will Deacon wrote: On Fri, Jan 27, 2017 at 10:43:16AM +, Ard Biesheuvel wrote: On 27 January 2017 at 10:40, Matthias Brugger wrote: Older compilers may not be a

Re: [PATCH] crypto: arm64/crc32 - detect crc32 support in assembler

2017-02-01 Thread Ard Biesheuvel
On 1 February 2017 at 09:07, Ard Biesheuvel wrote: > On 27 January 2017 at 10:52, Will Deacon wrote: >> On Fri, Jan 27, 2017 at 10:43:16AM +, Ard Biesheuvel wrote: >>> On 27 January 2017 at 10:40, Matthias Brugger wrote: >>> > Older compilers may not be able to detect the crc32 extended cpu

Re: [PATCH] crypto: arm64/crc32 - detect crc32 support in assembler

2017-02-01 Thread Ard Biesheuvel
On 27 January 2017 at 10:52, Will Deacon wrote: > On Fri, Jan 27, 2017 at 10:43:16AM +, Ard Biesheuvel wrote: >> On 27 January 2017 at 10:40, Matthias Brugger wrote: >> > Older compilers may not be able to detect the crc32 extended cpu type. >> >> What do you mean 'detect'? Could you describe

Re: [PATCH] crypto: arm64/crc32 - detect crc32 support in assembler

2017-01-27 Thread Will Deacon
On Fri, Jan 27, 2017 at 10:43:16AM +, Ard Biesheuvel wrote: > On 27 January 2017 at 10:40, Matthias Brugger wrote: > > Older compilers may not be able to detect the crc32 extended cpu type. > > What do you mean 'detect'? Could you describe the failure in more detail > please? > > > Anyway on

Re: [PATCH] crypto: arm64/crc32 - detect crc32 support in assembler

2017-01-27 Thread Ard Biesheuvel
Hi Mathias, On 27 January 2017 at 10:40, Matthias Brugger wrote: > Older compilers may not be able to detect the crc32 extended cpu type. What do you mean 'detect'? Could you describe the failure in more detail please? > Anyway only inline assembler code is used, which gets passed to the > asse