kernel_optimize_test/arch/blackfin
Michael Hennerich 1a7d91d651 Blackfin arch: flush/inv the correct range when using write back cache and fix bugs find by dmacopy
- flush/inv the correct range
 - dmacopy test failed when policy is write_back - invalidate before dma
   http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3367
   It's the cache invalidate what is causing the issue.
   There is no invalidate only instruction it's always: FLUSHINV
   So when we "invalidate" after the DMA we might (do) overwrite freshly 
   dma'ed data by dirty Cache WB content.

   Fixed by moving the "invalidate" at the beginning of dma_memcpy.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2007-10-10 17:42:55 +08:00
..
boot Blackfin arch: extract the entry point from the linked kernel 2007-07-12 14:26:26 +08:00
configs Blackfin arch: Board defconfig updating 2007-10-11 00:03:39 +08:00
kernel Blackfin arch: flush/inv the correct range when using write back cache and fix bugs find by dmacopy 2007-10-10 17:42:55 +08:00
lib Blackfin arch: revise anomaly handling by basing things on the compiler not the kconfig defines 2007-07-25 11:19:14 +08:00
mach-bf533 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-bf537 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-bf548 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-bf561 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-common Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mm some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
oprofile Blackfin arch: use the [CS]SYNC() macros which include anomaly workarounds rather than __builtin_bfin_[cs]sync() 2007-07-25 11:57:42 +08:00
Kconfig Blackfin arch: Initial patch to add earlyprintk support 2007-10-09 17:24:49 +08:00
Makefile Blackfin arch: add selections for BF544 and BF542 2007-07-24 18:20:18 +08:00