diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2019-05-03 17:17:42 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-05-23 09:01:04 +0300 |
commit | a7cd942bb6e3559d86257fe3b57844e55341a3a0 (patch) | |
tree | f20a41bedb2d34dd9e7645f708c6b8fba70ae686 /crypto | |
parent | b2b2ee350e701df9086275b8f857f6db10546f15 (diff) | |
download | linux-a7cd942bb6e3559d86257fe3b57844e55341a3a0.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions