]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
crypto: inside-secure - dynamic ring configuration allocation
authorOfer Heifetz <oferh@marvell.com>
Thu, 28 Jun 2018 15:15:36 +0000 (17:15 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:30:12 +0000 (00:30 +0800)
commit18e0e95b82e4440eaf4179c36aa5164b9bd8323d
tree711e2605f0aa04f473c534d605914ea4347fe352
parent53c83e915ce8b2fdd7c4e143966a105c96454647
crypto: inside-secure - dynamic ring configuration allocation

The Inside Secure SafeXcel driver currently uses 4 rings, but the
eip197d engines has 8 of them. This patch updates the driver so that
rings are allocated dynamically based on the number of available rings
supported by a given engine.

Signed-off-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_ring.c