Re: [PATCH 5/5] crypto: stm32/crc: protect from concurrent accesses

2020-05-25 Thread Ard Biesheuvel
> > wrote: > > > > > > > -Original Message- > > > > From: Ard Biesheuvel > > > > Sent: Monday, May 25, 2020 9:46 AM > > > > To: Nicolas TOROMANOFF > > > > Subject: Re: [PATCH 5/5] crypto: stm32/crc: protec

RE: [PATCH 5/5] crypto: stm32/crc: protect from concurrent accesses

2020-05-25 Thread Nicolas TOROMANOFF
heuvel > > > Sent: Monday, May 25, 2020 9:46 AM > > > To: Nicolas TOROMANOFF > > > Subject: Re: [PATCH 5/5] crypto: stm32/crc: protect from concurrent > > > accesses > > > > > > On Mon, 25 May 2020 at 09:24, Nicolas TOROMANOFF > > >

Re: [PATCH 5/5] crypto: stm32/crc: protect from concurrent accesses

2020-05-25 Thread Ard Biesheuvel
(+ Eric) On Mon, 25 May 2020 at 11:01, Nicolas TOROMANOFF wrote: > > > -Original Message- > > From: Ard Biesheuvel > > Sent: Monday, May 25, 2020 9:46 AM > > To: Nicolas TOROMANOFF > > Subject: Re: [PATCH 5/5] crypto: stm32/crc: protect from concurren

RE: [PATCH 5/5] crypto: stm32/crc: protect from concurrent accesses

2020-05-25 Thread Nicolas TOROMANOFF
> -Original Message- > From: Ard Biesheuvel > Sent: Monday, May 25, 2020 9:46 AM > To: Nicolas TOROMANOFF > Subject: Re: [PATCH 5/5] crypto: stm32/crc: protect from concurrent accesses > > On Mon, 25 May 2020 at 09:24, Nicolas TOROMANOFF > wrote: > > >

Re: [PATCH 5/5] crypto: stm32/crc: protect from concurrent accesses

2020-05-25 Thread Ard Biesheuvel
On Mon, 25 May 2020 at 09:24, Nicolas TOROMANOFF wrote: > > Hello, > > > -Original Message- > > From: Ard Biesheuvel > > Sent: Friday, May 22, 2020 6:12 PM> > > On Tue, 12 May 2020 at 16:13, Nicolas Toromanoff > > wrote: > > > > > > Protect STM32 CRC device from concurrent accesses. > >

RE: [PATCH 5/5] crypto: stm32/crc: protect from concurrent accesses

2020-05-25 Thread Nicolas TOROMANOFF
Hello, > -Original Message- > From: Ard Biesheuvel > Sent: Friday, May 22, 2020 6:12 PM> > On Tue, 12 May 2020 at 16:13, Nicolas Toromanoff > wrote: > > > > Protect STM32 CRC device from concurrent accesses. > > > > As we create a spinlocked section that increase with buffer size, we >

Re: [PATCH 5/5] crypto: stm32/crc: protect from concurrent accesses

2020-05-22 Thread Ard Biesheuvel
On Tue, 12 May 2020 at 16:13, Nicolas Toromanoff wrote: > > Protect STM32 CRC device from concurrent accesses. > > As we create a spinlocked section that increase with buffer size, > we provide a module parameter to release the pressure by splitting > critical section in chunks. > > Size of each c