From: Lennert Buytenhek Date: Sat, 16 Sep 2006 09:52:02 +0000 (+0100) Subject: [ARM] 3814/1: move 80200 dma_inv_range() erratum check out of line X-Git-Tag: v2.6.19-rc1~885^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=197c9444d6093b70c8faa24e7ab04a2423c9d14d;p=pandora-kernel.git [ARM] 3814/1: move 80200 dma_inv_range() erratum check out of line On stepping A0/A1 of the 80200, invalidating D-cache by line doesn't clear the dirty bits, which means that if we invalidate a dirty line, the dirty data can still be written back to memory later on. To work around this, dma_inv_range() on these two processors is implemented as dma_flush_range() (i.e. do a clean D-cache line before doing the invalidate D-cache line.) For this, we currently have a processor ID check in xscale_dma_inv_range(), but a better solution is to add a separate cache_fns and proc_info for A0/A1 80200. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King --- Reading git-diff-tree failed