crypto: caam/qi - fix address translations with IOMMU enabled
authorHoria Geantă <horia.geanta@nxp.com>
Fri, 3 May 2019 14:17:41 +0000 (17:17 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 May 2019 06:01:04 +0000 (14:01 +0800)
commitb2b2ee350e701df9086275b8f857f6db10546f15
treeb83fcbc3268eb548cbec4748e07dd6576db286f5
parent6b175685b4a12ab0aa048078bd7ca1fdb20ca766
crypto: caam/qi - fix address translations with IOMMU enabled

When IOMMU is enabled, iova -> phys address translation should be
performed using iommu_ops, not dma_to_phys().

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/intern.h
drivers/crypto/caam/qi.c