Re: [PATCH] crypto: xor - avoid division by zero crash

2021-01-24 Thread Helge Deller
On 1/24/21 3:30 PM, Ard Biesheuvel wrote: > On Sun, 24 Jan 2021 at 15:28, Helge Deller wrote: >> >> On some of my parisc machines, this patch c055e3eae0f1 ("crypto: xor - >> use ktime for template benchmarking") triggers a dividy-by-zero >> exception because "min" becomes zero, which then leads to

Re: [PATCH] crypto: xor - avoid division by zero crash

2021-01-24 Thread Ard Biesheuvel
On Sun, 24 Jan 2021 at 15:28, Helge Deller wrote: > > On some of my parisc machines, this patch c055e3eae0f1 ("crypto: xor - > use ktime for template benchmarking") triggers a dividy-by-zero > exception because "min" becomes zero, which then leads to a kernel > crash. > > It's not clear yet, why I