087e1d715b
When caam queue is full (-ENOSPC), caam frees descriptor memory.
crypto-engine checks if retry support is true and h/w queue
is full(-ENOSPC), then requeue the crypto request.
During processing the requested descriptor again, caam gives below error.
(caam_jr 30902000.jr: 40000006: DECO: desc idx 0: Invalid KEY Command).
This patch adds a check to return when caam input ring is full
and retry support is true. so descriptor memory is not freed
and requeued request can be processed again.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
caamalg.c | ||
caamalg_desc.c | ||
caamalg_desc.h | ||
caamalg_qi.c | ||
caamalg_qi2.c | ||
caamalg_qi2.h | ||
caamhash.c | ||
caamhash_desc.c | ||
caamhash_desc.h | ||
caampkc.c | ||
caampkc.h | ||
caamrng.c | ||
compat.h | ||
ctrl.c | ||
ctrl.h | ||
debugfs.c | ||
debugfs.h | ||
desc.h | ||
desc_constr.h | ||
dpseci-debugfs.c | ||
dpseci-debugfs.h | ||
dpseci.c | ||
dpseci.h | ||
dpseci_cmd.h | ||
error.c | ||
error.h | ||
intern.h | ||
jr.c | ||
jr.h | ||
key_gen.c | ||
key_gen.h | ||
pdb.h | ||
pkc_desc.c | ||
qi.c | ||
qi.h | ||
regs.h | ||
sg_sw_qm.h | ||
sg_sw_qm2.h | ||
sg_sw_sec4.h |