summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qce
diff options
context:
space:
mode:
authorNicolas Toromanoff <nicolas.toromanoff@st.com>2020-05-12 16:11:13 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-05-22 16:08:21 +0200
commit7795c0baf5ac25e104fec8677ad134066a8fb8d3 (patch)
tree738c48d2fb9c7e803d42db2e9f8e398bc9f67a58 /drivers/crypto/qce
parentcrypto: stm32/crc32 - don't sleep in runtime pm (diff)
downloadlinux-7795c0baf5ac25e104fec8677ad134066a8fb8d3.tar.xz
linux-7795c0baf5ac25e104fec8677ad134066a8fb8d3.zip
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>
Diffstat (limited to 'drivers/crypto/qce')
0 files changed, 0 insertions, 0 deletions