crypto/dpaa2_sec: support stats for secondary process
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 3 Sep 2020 17:17:45 +0000 (22:47 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 20:22:06 +0000 (22:22 +0200)
commit1fb9115a80854367e7a6d9ea528312752e6fc250
tree1a278674f1385905779c39bea9448a665b6e77e5
parent356bcac8f11ef916f47be74b295c36755d8165cf
crypto/dpaa2_sec: support stats for secondary process

DPAA2 crypto object access need availability of MCP object
pointer. In case of secondary process, we need to use local
MCP pointer instead of primary process.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c