crypto: omap-sham - add proper load balancing support for multicore
authorTero Kristo <t-kristo@ti.com>
Wed, 27 May 2020 12:24:29 +0000 (15:24 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Jun 2020 12:03:43 +0000 (22:03 +1000)
commit281c377872ff5d15d80df25fc4df02d2676c7cde
tree113973419354b725f77e487e6b7136e62e5fa383
parent9ef4e6e5e31403860081b995f26dc0d4b26356c2
crypto: omap-sham - add proper load balancing support for multicore

The current implementation of the multiple accelerator core support for
OMAP SHA does not work properly. It always picks up the first probed
accelerator core if this is available, and rest of the book keeping also
gets confused if there are two cores available. Add proper load
balancing support for SHA, and also fix any bugs related to the
multicore support while doing it.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c