linux/drivers/crypto/caam
Iuliana Prodan 9f6d555f58 crypto: caam - do not reset pointer size from MCFGR register
commit 7278fa25aa upstream.

In commit 'a1cf573ee95 ("crypto: caam - select DMA address size at runtime")'
CAAM pointer size (caam_ptr_size) is changed from
sizeof(dma_addr_t) to runtime value computed from MCFGR register.
Therefore, do not reset MCFGR[PS].

Fixes: a1cf573ee9 ("crypto: caam - select DMA address size at runtime")
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Cc: <stable@vger.kernel.org>
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Alison Wang <alison.wang@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-01 09:34:52 +00:00
..
Kconfig crypto: des - split off DES library from generic DES cipher driver 2019-08-22 14:57:33 +10:00
Makefile crypto: caam/qi2 - Add printing dpseci fq stats using debugfs 2019-08-02 14:44:01 +10:00
caamalg.c crypto: caam - make CAAM_PTR_SZ dynamic 2019-08-30 18:05:30 +10:00
caamalg_desc.c crypto: caam - update rfc4106 sh desc to support zero length input 2019-08-09 15:11:48 +10:00
caamalg_desc.h crypto: caam - update rfc4106 sh desc to support zero length input 2019-08-09 15:11:48 +10:00
caamalg_qi.c crypto: caam/qi - use print_hex_dump_debug function to print debug messages 2019-08-30 18:05:28 +10:00
caamalg_qi2.c crypto: caam/des - switch to new verification routines 2019-08-22 14:39:39 +10:00
caamalg_qi2.h crypto: caam - share definition for MAX_SDLEN 2019-08-30 18:05:29 +10:00
caamhash.c crypto: caam - make CAAM_PTR_SZ dynamic 2019-08-30 18:05:30 +10:00
caamhash_desc.c crypto: caam - keep both virtual and dma key addresses 2019-08-09 15:11:49 +10:00
caamhash_desc.h crypto: caam - keep both virtual and dma key addresses 2019-08-09 15:11:49 +10:00
caampkc.c crypto: caam - select DMA address size at runtime 2019-08-30 18:05:30 +10:00
caampkc.h crypto: caam - strip input without changing crypto request 2019-06-06 14:38:57 +08:00
caamrng.c crypto: caam - make CAAM_PTR_SZ dynamic 2019-08-30 18:05:30 +10:00
compat.h crypto: caam/des - switch to new verification routines 2019-08-22 14:39:39 +10:00
ctrl.c crypto: caam - do not reset pointer size from MCFGR register 2020-02-01 09:34:52 +00:00
ctrl.h
desc.h
desc_constr.h crypto: caam - select DMA address size at runtime 2019-08-30 18:05:30 +10:00
dpseci-debugfs.c crypto: caam/qi2 - Add printing dpseci fq stats using debugfs 2019-08-02 14:44:01 +10:00
dpseci-debugfs.h crypto: caam/qi2 - Add printing dpseci fq stats using debugfs 2019-08-02 14:44:01 +10:00
dpseci.c
dpseci.h
dpseci_cmd.h
error.c crypto: caam - make CAAM_PTR_SZ dynamic 2019-08-30 18:05:30 +10:00
error.h crypto: caam - fix return code in completion callbacks 2019-08-09 15:11:45 +10:00
intern.h crypto: caam - select DMA address size at runtime 2019-08-30 18:05:30 +10:00
jr.c crypto: caam - Cast to long first before pointer conversion 2019-09-13 21:20:47 +10:00
jr.h
key_gen.c crypto: caam - fix MDHA key derivation for certain user key lengths 2019-08-09 15:11:49 +10:00
key_gen.h
pdb.h crypto: caam - select DMA address size at runtime 2019-08-30 18:05:30 +10:00
pkc_desc.c crypto: caam - select DMA address size at runtime 2019-08-30 18:05:30 +10:00
qi.c crypto: caam - fix return code in completion callbacks 2019-08-09 15:11:45 +10:00
qi.h crypto: caam - share definition for MAX_SDLEN 2019-08-30 18:05:29 +10:00
regs.h crypto: caam - select DMA address size at runtime 2019-08-30 18:05:30 +10:00
sg_sw_qm.h crypto: caam - use len instead of nents for bulding HW S/G table 2019-06-20 14:18:33 +08:00
sg_sw_qm2.h crypto: caam - use len instead of nents for bulding HW S/G table 2019-06-20 14:18:33 +08:00
sg_sw_sec4.h crypto: caam - use len instead of nents for bulding HW S/G table 2019-06-20 14:18:33 +08:00