diff options
author | Victoria Milhoan <vicki.milhoan@freescale.com> | 2014-11-07 10:48:32 -0700 |
---|---|---|
committer | Victoria Milhoan <vicki.milhoan@freescale.com> | 2014-12-01 00:51:28 -0700 |
commit | 25f48e7517e7561deb3d50e8590284a4c5e63c2c (patch) | |
tree | bce0cc81cfc5e0d4db0f9324969bfe420541fc4e | |
parent | 765743a72feb377c963628b770694ae235e200ce (diff) |
MLK-9937 Use job ring 0 for secure memory access
By default, job ring 0 is the owner of the Secure Memory area
within CAAM. This patch modifies the Secure Memory module to
use job ring 0 for all accesses.
Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
(cherry picked from commit bb447bfb241d34492365bf881257b1a742a29c02)
-rw-r--r-- | drivers/crypto/caam/sm_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/sm_store.c b/drivers/crypto/caam/sm_store.c index 0bd2ca9246bb..e916115b5173 100644 --- a/drivers/crypto/caam/sm_store.c +++ b/drivers/crypto/caam/sm_store.c @@ -1017,7 +1017,7 @@ int caam_sm_startup(struct platform_device *pdev) * provisioning application, so we have to assume that we "inherit" * a configuration and work within the constraints of what it might be. */ - smpriv->smringdev = caam_jr_alloc(); + smpriv->smringdev = &ctrlpriv->jrpdev[0]->dev; jrpriv = dev_get_drvdata(smpriv->smringdev); lpagect = 0; lpagedesc = kzalloc(sizeof(struct sm_page_descriptor) |