diff options
author | Nicolas Toromanoff <nicolas.toromanoff@st.com> | 2020-09-16 09:33:44 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-09-25 10:48:14 +0300 |
commit | bbf2cb1ea1e1428589d7f4d652bed15b265ce92d (patch) | |
tree | cec14bb4328b0a7f435453ad1a9cfdb515a0af98 /arch/arm/crypto | |
parent | c4c75fcbd8b9cc9c9fcddcb8ee68ab680d486c01 (diff) | |
download | linux-bbf2cb1ea1e1428589d7f4d652bed15b265ce92d.tar.xz |
crypto: stm32/crc32 - Avoid lock if hardware is already used
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: Nicolas Toromanoff <nicolas.toromanoff@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/crypto')
0 files changed, 0 insertions, 0 deletions