diff options
author | Nicolas Toromanoff <nicolas.toromanoff@st.com> | 2020-05-12 16:11:13 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-23 00:08:21 +1000 |
commit | 7795c0baf5ac25e104fec8677ad134066a8fb8d3 (patch) | |
tree | 738c48d2fb9c7e803d42db2e9f8e398bc9f67a58 /drivers/misc/ibmvmc.h | |
parent | 100f84beee4874234d04a1ea642b8c9738d7020d (diff) |
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/misc/ibmvmc.h')
0 files changed, 0 insertions, 0 deletions