numam-dpdk/drivers/crypto
Gagandeep Singh c6887eca58 crypto/caam_jr: fix device tree parsing for SEC_ERA
Previously, SEC_ERA was hardcoded and it was removed in [1].
Now when that hardcoded was removed, it is supposed to be
read from the device tree but it is not done correctly.
This patch calls a necessary API of_init() before using any
of_* APIs to retrieve information from the device tree and
if reading integer value that must be converted to cpu endianness
before using it.

[1] eef9e0412a ("drivers/crypto: fix build with -fno-common")

Fixes: 1d678de329 ("crypto/caam_jr: add basic job ring routines")
Cc: stable@dpdk.org

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2020-10-19 16:00:31 +02:00
..
aesni_gcm cryptodev: change crypto symmetric vector structure 2020-10-14 22:22:06 +02:00
aesni_mb cryptodev: change crypto symmetric vector structure 2020-10-14 22:22:06 +02:00
armv8 crypto/armv8: remove algo lists end 2020-10-14 22:22:06 +02:00
bcmfs crypto/bcmfs: optimize crypto request processing 2020-10-14 22:24:41 +02:00
caam_jr crypto/caam_jr: fix device tree parsing for SEC_ERA 2020-10-19 16:00:31 +02:00
ccp mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
dpaa2_sec crypto/dpaa2_sec: enable PDCP-SDAP sessions 2020-10-14 22:24:41 +02:00
dpaa_sec crypto/dpaa_sec: enable PDCP-SDAP sessions 2020-10-14 22:24:41 +02:00
kasumi
mvsam crypto/mvsam: remove algo lists end 2020-10-14 22:22:06 +02:00
nitrox crypto/nitrox: support cipher-only operations 2020-10-14 21:37:24 +02:00
null
octeontx common/cpt: check MAC length 2020-10-14 21:37:26 +02:00
octeontx2 event/octeontx2: add crypto adapter datapath 2020-10-15 22:27:49 +02:00
openssl
qat crypto/qat: support raw datapath API 2020-10-14 22:22:06 +02:00
scheduler crypto/scheduler: rename slave to worker 2020-10-14 21:31:46 +02:00
snow3g
virtio mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
zuc
meson.build crypto/bcmfs: introduce BCMFS driver 2020-10-14 21:42:57 +02:00