diff options
author | Victoria Milhoan <vicki.milhoan@freescale.com> | 2014-11-07 10:48:32 -0700 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-04-14 14:01:44 -0500 |
commit | d7b5a672aa7f64fe8ff986c44a8e6667b80828d8 (patch) | |
tree | 42f34e2f366875b5a83a5ed0d79cc21a1a3f1811 /drivers/crypto | |
parent | c0968a046869fd3060720b85154a0f2d4969a774 (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)
Diffstat (limited to 'drivers/crypto')
-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 9541a0d2b008..5562b74ad558 100644 --- a/drivers/crypto/caam/sm_store.c +++ b/drivers/crypto/caam/sm_store.c @@ -1018,7 +1018,7 @@ int caam_sm_startup(struct platform_device *pdev) * we can divorce the controller and ring drivers, and then assign * an SM instance to any ring instance). */ - 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) |