Home
last modified time | relevance | path

Searched hist:"8 a6f83dcb8638e34c264e6ee8ee5699975de68a0" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/crypto/fsl/
H A Djr.h8a6f83dcb8638e34c264e6ee8ee5699975de68a0 Wed Mar 23 10:54:42 UTC 2016 Saksham Jain <saksham.jain@nxp.com> crypto/fsl: Make CAAM transactions cacheable

This commit solves CAAM coherency issue on ls2080. When caches are
enabled and CAAM's DMA's AXI transcations are not made cacheable,
Core reads/writes data from/to caches and CAAM does from main memory.
This forces data flushes to synchronize various data structures. But
even if any data in proximity of these structures is read by core,
these structures again are fetched in caches.

To avoid this problem, either all the data that CAAM accesses can be
made cache line aligned or CAAM transcations can be made cacheable.

So, this commit makes CAAM transcations as write back with write and
read allocate.

Signed-off-by: Saksham Jain <saksham.jain@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
H A Djr.c8a6f83dcb8638e34c264e6ee8ee5699975de68a0 Wed Mar 23 10:54:42 UTC 2016 Saksham Jain <saksham.jain@nxp.com> crypto/fsl: Make CAAM transactions cacheable

This commit solves CAAM coherency issue on ls2080. When caches are
enabled and CAAM's DMA's AXI transcations are not made cacheable,
Core reads/writes data from/to caches and CAAM does from main memory.
This forces data flushes to synchronize various data structures. But
even if any data in proximity of these structures is read by core,
these structures again are fetched in caches.

To avoid this problem, either all the data that CAAM accesses can be
made cache line aligned or CAAM transcations can be made cacheable.

So, this commit makes CAAM transcations as write back with write and
read allocate.

Signed-off-by: Saksham Jain <saksham.jain@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>