summaryrefslogtreecommitdiffstats
path: root/crypto/des_generic.c
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2019-05-03 16:17:42 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-05-23 08:01:04 +0200
commita7cd942bb6e3559d86257fe3b57844e55341a3a0 (patch)
treef20a41bedb2d34dd9e7645f708c6b8fba70ae686 /crypto/des_generic.c
parentcrypto: caam/qi - fix address translations with IOMMU enabled (diff)
downloadlinux-a7cd942bb6e3559d86257fe3b57844e55341a3a0.tar.xz
linux-a7cd942bb6e3559d86257fe3b57844e55341a3a0.zip
crypto: caam/qi - DMA map keys using proper device
Currently there is a mismatch b/w the ICID (Isolation Context ID) used for DMA mapping keys and ICID used for accessing them. -keys are DMA mapped using a job ring device, thus a job ring ICID -keys are accessed from descriptors enqueued via Queue Interface, thus using QI ICID [Note: ICIDs of JRs, QI are configured by U-boot / other entity by: -fixing up the corresponding job ring and controller DT nodes -setting up corresponding caam ICID registers] In order to avoid IOMMU faults, DMA map the key using the controller device instead of a job ring device. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/des_generic.c')
0 files changed, 0 insertions, 0 deletions