From: Catalin Marinas Date: Mon, 21 Jun 2010 14:09:36 +0000 (+0100) Subject: ARM: 6187/1: The v6_dma_inv_range() function must preserve data on SMP X-Git-Tag: v2.6.35-rc4~1^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca57926d53580f7c950496cb7ef6d7930610e1dd;p=pandora-kernel.git ARM: 6187/1: The v6_dma_inv_range() function must preserve data on SMP A recent patch for DMA cache maintenance on ARM11MPCore added a write for ownership trick to the v6_dma_inv_range() function. Such operation destroys data already present in the buffer. However, this function is used with with dma_sync_single_for_device() which is supposed to preserve the existing data transfered into the buffer. This patch adds a combination of read/write for ownership to preserve the original data. Reported-by: Ronen Shitrit Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed