]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - Probe transform record cache RAM sizes
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 6 Sep 2019 14:31:53 +0000 (16:31 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Sep 2019 11:17:58 +0000 (21:17 +1000)
commit0315e0e9a2a46a2df6aec2477a5a2427bbf11c5b
tree978ce4e2886b131445c21f7bef12202b88d3d06f
parentb6b39f9b71eb1d164acbf81d02765542be745820
crypto: inside-secure - Probe transform record cache RAM sizes

This patch actually probes the transform record cache data and
administration RAM sizes, instead of making assumptions, and then
configures the TRC based on the actually probed values.
This allows the driver to work with EIP197 HW that has TRC RAM
sizes different from those of the Marvell EIP197B/D variants.

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h