crypto: inside-secure/eip93 - fix register definition
PATCH 1/1 crypto: inside-secure/eip93 - fix register definition
Checked the register definitions with the documentation[1]. Turns out that the PKTE_INBUF_CNT register has a bad offset. It's used in Direct Host Mode (DHM). The driver uses Autonomous Ring Mode (ARM), so it causes no harm.
1. ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference
Fixes 9739f5f93b78 ("crypto: eip93 - Add Inside Secure SafeXcel EIP-93 crypto engine support")
Signed-off-by Aleksander Jan Bajkowski <[email protected]>
--- drivers/crypto/inside-secure/eip93/eip93-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/inside-secure/eip93/eip93-regs.h +1 -1
@@ -109,7 +109,7 @@#define EIP93_REG_PE_BUF_THRESH 0x10c#define EIP93_PE_OUTBUF_THRESH GENMASK(23, 16)#define EIP93_PE_INBUF_THRESH GENMASK(7, 0) -#define EIP93_REG_PE_INBUF_COUNT 0x100 +#define EIP93_REG_PE_INBUF_COUNT 0x110#define EIP93_REG_PE_OUTBUF_COUNT 0x114#define EIP93_REG_PE_BUF_RW_PNTR 0x118/* BUF_PNTR */
Signature · 1 line
2.47.3
Herbert Xu
maintainerQuoted 11 lines · Aleksander Jan Bajkowski
Checked the register definitions with the documentation[1]. Turns out that the
PKTE_INBUF_CNTregister has a bad offset. It's used in Direct Host Mode (DHM). The driver uses Autonomous Ring Mode (ARM), so it causes no harm.1. ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference
Fixes 9739f5f93b78 ("crypto: eip93 - Add Inside Secure SafeXcel EIP-93 crypto engine support")Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- drivers/crypto/inside-secure/eip93/eip93-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt