RE: [PATCH] crypt: bfin_crc: Remove useless SSYNC instruction and cache flush to DMA coherent memory

2014-03-10 Thread Zhang, Sonic
PING -Original Message- From: Sonic Zhang [mailto:sonic@gmail.com] Sent: Wednesday, February 26, 2014 10:39 AM To: Herbert Xu Cc: linux-crypto@vger.kernel.org; adi-buildroot-de...@lists.sourceforge.net; Zhang, Sonic Subject: [PATCH] crypt: bfin_crc: Remove useless SSYNC instruction

Re: [PATCH] crypt: bfin_crc: Remove useless SSYNC instruction and cache flush to DMA coherent memory

2014-03-10 Thread Herbert Xu
On Wed, Feb 26, 2014 at 10:39:16AM +0800, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com 1) SSYNC instruction is blackfin specific and takes no effect in this driver. 2) DMA descriptor and SG middle buffer are in DMA coherent memory. No need to flush. 3) Turn kzalloc, ioremap