mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
crypto: inside-secure - Fix hangup during probing for EIP97 engine
Fixed mask used for CFSIZE and RFSIZE fields of HIA_OPTIONS register, these were all 1 bit too wide. Which caused the probing of a standard EIP97 to actually hang due to assume way too large descriptor FIFO's. Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
6d01d8511d
commit
c3510fec6e
@ -257,13 +257,13 @@
|
||||
#define EIP197_CFSIZE_OFFSET 9
|
||||
#define EIP197_CFSIZE_ADJUST 4
|
||||
#define EIP97_CFSIZE_OFFSET 8
|
||||
#define EIP197_CFSIZE_MASK GENMASK(3, 0)
|
||||
#define EIP97_CFSIZE_MASK GENMASK(4, 0)
|
||||
#define EIP197_CFSIZE_MASK GENMASK(2, 0)
|
||||
#define EIP97_CFSIZE_MASK GENMASK(3, 0)
|
||||
#define EIP197_RFSIZE_OFFSET 12
|
||||
#define EIP197_RFSIZE_ADJUST 4
|
||||
#define EIP97_RFSIZE_OFFSET 12
|
||||
#define EIP197_RFSIZE_MASK GENMASK(3, 0)
|
||||
#define EIP97_RFSIZE_MASK GENMASK(4, 0)
|
||||
#define EIP197_RFSIZE_MASK GENMASK(2, 0)
|
||||
#define EIP97_RFSIZE_MASK GENMASK(3, 0)
|
||||
|
||||
/* EIP197_HIA_AIC_R_ENABLE_CTRL */
|
||||
#define EIP197_CDR_IRQ(n) BIT((n) * 2)
|
||||
|
Loading…
Reference in New Issue
Block a user