Skip to content

Commit 7ed07c9

Browse files
abajkgregkh
authored andcommitted
crypto: inside-secure/eip93 - fix register definition
[ Upstream commit b7abbc8 ] 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: 9739f5f ("crypto: eip93 - Add Inside Secure SafeXcel EIP-93 crypto engine support") Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 1f2e41b commit 7ed07c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/crypto/inside-secure/eip93/eip93-regs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
#define EIP93_REG_PE_BUF_THRESH 0x10c
110110
#define EIP93_PE_OUTBUF_THRESH GENMASK(23, 16)
111111
#define EIP93_PE_INBUF_THRESH GENMASK(7, 0)
112-
#define EIP93_REG_PE_INBUF_COUNT 0x100
112+
#define EIP93_REG_PE_INBUF_COUNT 0x110
113113
#define EIP93_REG_PE_OUTBUF_COUNT 0x114
114114
#define EIP93_REG_PE_BUF_RW_PNTR 0x118 /* BUF_PNTR */
115115

0 commit comments

Comments
 (0)