Re: [PATCH] arm64: crypto: Add an option to assume NEON XOR is the fastest

2020-09-23 Thread Ard Biesheuvel
On Wed, 23 Sep 2020 at 02:39, Doug Anderson wrote: > > Hi, > > On Tue, Sep 22, 2020 at 3:30 AM Ard Biesheuvel wrote: > > > > On Tue, 22 Sep 2020 at 10:26, David Laight wrote: > > > > > > From: Douglas Anderson > > > > Sent: 22 September 2020 01:26 > > > > > > > > On every boot time we see messag

Re: [PATCH] arm64: crypto: Add an option to assume NEON XOR is the fastest

2020-09-22 Thread Doug Anderson
Hi, On Tue, Sep 22, 2020 at 3:30 AM Ard Biesheuvel wrote: > > On Tue, 22 Sep 2020 at 10:26, David Laight wrote: > > > > From: Douglas Anderson > > > Sent: 22 September 2020 01:26 > > > > > > On every boot time we see messages like this: > > > > > > [0.025360] calling calibrate_xor_blocks+0x

Re: [PATCH] arm64: crypto: Add an option to assume NEON XOR is the fastest

2020-09-22 Thread Doug Anderson
On Mon, Sep 21, 2020 at 11:25 PM Ard Biesheuvel wrote: > > On Tue, 22 Sep 2020 at 02:27, Douglas Anderson wrote: > > > > On every boot time we see messages like this: > > > > [0.025360] calling calibrate_xor_blocks+0x0/0x134 @ 1 > > [0.025363] xor: measuring software checksum speed > > [

Re: [PATCH] arm64: crypto: Add an option to assume NEON XOR is the fastest

2020-09-22 Thread Ard Biesheuvel
On Tue, 22 Sep 2020 at 10:26, David Laight wrote: > > From: Douglas Anderson > > Sent: 22 September 2020 01:26 > > > > On every boot time we see messages like this: > > > > [0.025360] calling calibrate_xor_blocks+0x0/0x134 @ 1 > > [0.025363] xor: measuring software checksum speed > > [

RE: [PATCH] arm64: crypto: Add an option to assume NEON XOR is the fastest

2020-09-22 Thread David Laight
From: Douglas Anderson > Sent: 22 September 2020 01:26 > > On every boot time we see messages like this: > > [0.025360] calling calibrate_xor_blocks+0x0/0x134 @ 1 > [0.025363] xor: measuring software checksum speed > [0.035351]8regs : 3952.000 MB/sec > [0.045384]32re

Re: [PATCH] arm64: crypto: Add an option to assume NEON XOR is the fastest

2020-09-21 Thread Ard Biesheuvel
On Tue, 22 Sep 2020 at 02:27, Douglas Anderson wrote: > > On every boot time we see messages like this: > > [0.025360] calling calibrate_xor_blocks+0x0/0x134 @ 1 > [0.025363] xor: measuring software checksum speed > [0.035351]8regs : 3952.000 MB/sec > [0.045384]32regs

[PATCH] arm64: crypto: Add an option to assume NEON XOR is the fastest

2020-09-21 Thread Douglas Anderson
On every boot time we see messages like this: [0.025360] calling calibrate_xor_blocks+0x0/0x134 @ 1 [0.025363] xor: measuring software checksum speed [0.035351]8regs : 3952.000 MB/sec [0.045384]32regs: 4860.000 MB/sec [0.055418]arm64_neon: 5900.000 MB/se