Re: [PATCH] crypto: stm32/crc32 - Avoid lock if hardware is already used

2020-09-15 Thread Nicolas TOROMANOFF
Hello Herbert, On 9/11/20 6:28 AM, Herbert Xu wrote: > On Fri, Sep 04, 2020 at 01:25:27PM +0200, Nicolas Toromanoff wrote: >> If STM32 CRC device is already in use, calculate CRC by software. >> >> This will release CPU constraint for a concurrent access to the >> hardware, and avoid masking irqs

Re: [PATCH] crypto: stm32/crc32 - Avoid lock if hardware is already used

2020-09-10 Thread Herbert Xu
On Fri, Sep 04, 2020 at 01:25:27PM +0200, Nicolas Toromanoff wrote: > If STM32 CRC device is already in use, calculate CRC by software. > > This will release CPU constraint for a concurrent access to the > hardware, and avoid masking irqs during the whole block processing. > > Fixes: 7795c0baf5ac

[PATCH] crypto: stm32/crc32 - Avoid lock if hardware is already used

2020-09-04 Thread Nicolas Toromanoff
If STM32 CRC device is already in use, calculate CRC by software. This will release CPU constraint for a concurrent access to the hardware, and avoid masking irqs during the whole block processing. Fixes: 7795c0baf5ac ("crypto: stm32/crc32 - protect from concurrent accesses") Signed-off-by: Nico