linux/drivers/crypto/inside-secure
Pascal van Leeuwen 946a4a2a49 crypto: inside-secure - Add support for HW with less ring AIC's than rings
The current driver assumes one dedicated ring interrupt controller per
ring. However, some existing EIP(1)97 HW has less ring AIC's than rings.
This patch allows the driver to work with such HW by detecting how many
ring AIC's are present and restricting the number of rings it *uses* by
the number of ring AIC's present. This allows it to at least function.
(optimization for the future: add ring dispatch functionality in the
interrupt service routine such that multiple rings can be supported from
one ring AIC, allowing all rings to be used)

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-10-05 01:06:17 +10:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
safexcel.c crypto: inside-secure - Add support for HW with less ring AIC's than rings 2019-10-05 01:06:17 +10:00
safexcel.h crypto: inside-secure - Add support for HW with less ring AIC's than rings 2019-10-05 01:06:17 +10:00
safexcel_cipher.c crypto: inside-secure - Added support for the rfc4309(ccm(aes)) AEAD 2019-10-05 01:06:16 +10:00
safexcel_hash.c crypto: inside-secure - Add HMAC-SHA3 family of authentication algorithms 2019-10-05 01:06:07 +10:00
safexcel_ring.c crypto: inside-secure - Add support for 256 bit wide internal bus 2019-10-05 01:06:16 +10:00