From: Tom Lendacky Date: Thu, 10 Jul 2014 15:58:35 +0000 (-0500) Subject: crypto: ccp - Base AXI DMA cache settings on device tree X-Git-Tag: omap-for-v3.17/fixes-against-rc2~194^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=126ae9adc1ec8d9006542f1a5e474b0183845e21;p=pandora-kernel.git crypto: ccp - Base AXI DMA cache settings on device tree The default cache operations for ARM64 were changed during 3.15. To use coherent operations a "dma-coherent" device tree property is required. If that property is not present in the device tree node then the non-coherent operations are assigned for the device. Add support to the ccp driver to assign the AXI DMA cache settings based on whether the "dma-coherent" property is present in the device node. If present, use settings that work with the caches. If not present, use settings that do not look at the caches. Signed-off-by: Tom Lendacky Signed-off-by: Herbert Xu --- Reading git-diff-tree failed