Home
last modified time | relevance | path

Searched hist:bbf2cb1e (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/crypto/stm32/
H A Dstm32-crc32.cbbf2cb1e Wed Sep 16 01:33:44 CDT 2020 Nicolas Toromanoff <nicolas.toromanoff@st.com> 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>
bbf2cb1e Wed Sep 16 01:33:44 CDT 2020 Nicolas Toromanoff <nicolas.toromanoff@st.com> 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>
H A DKconfigbbf2cb1e Wed Sep 16 01:33:44 CDT 2020 Nicolas Toromanoff <nicolas.toromanoff@st.com> 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>