MLK-17253-2: crypto: caam: Use correct memory function for Secure Memory
authorFranck LENORMAND <franck.lenormand@nxp.com>
Mon, 5 Feb 2018 09:54:56 +0000 (10:54 +0100)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:55:02 +0000 (14:55 -0500)
commit04f329556e30a089126b96e2c8171f3f65483d6d
tree1c560493b119d1ebc50ac97c29729f071191c739
parent462fdd700cf975e2d4966d87b2f193a2c508d789
MLK-17253-2: crypto: caam: Use correct memory function for Secure Memory

The Secure Memory is a hardware memory whose address was retrieved using
of_iomap, hence the memory manipulation shall use the set of functions:
memset_io/memcpy_fromio/memcpy_toio in order to works correctly.

Not using these functions can result in kernel panic.

Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
drivers/crypto/caam/sm_store.c