2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/drivers/crypto/stm32
Nicolas Toromanoff 7795c0baf5 crypto: stm32/crc32 - protect from concurrent accesses
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 chunk is defined in burst_size module parameter.
By default burst_size=0, i.e. don't split incoming buffer.

Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-05-23 00:08:21 +10:00
..
Kconfig crypto: Kconfig - Fix indentation 2019-12-11 16:36:05 +08:00
Makefile Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2019-07-08 20:57:08 -07:00
stm32-crc32.c crypto: stm32/crc32 - protect from concurrent accesses 2020-05-23 00:08:21 +10:00
stm32-cryp.c crypto: stm32 - switch to skcipher API 2019-11-17 09:02:48 +08:00
stm32-hash.c crypto: stm32/hash - don't print error on probe deferral 2020-05-08 15:30:39 +10:00