]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Sat, 8 Aug 2020 05:53:12 +0000 (01:53 -0400)
commit5576b1652d3ef9511be05d2d59553cb2fabc3a58
tree0c9cab106c6d51ea7734a4cefae78d8f64197fca
parentd3699f16c4a5cafbb600c986f325da3719dde787
crypto: omap-sham - add proper load balancing support for multicore

BugLink: https://bugs.launchpad.net/bugs/1885322
[ Upstream commit 281c377872ff5d15d80df25fc4df02d2676c7cde ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/crypto/omap-sham.c