OpenCloudOS-Kernel/arch/microblaze
Ilya Loginov 2d4dc890b5 block: add helpers to run flush_dcache_page() against a bio and a request's pages
Mtdblock driver doesn't call flush_dcache_page for pages in request.  So,
this causes problems on architectures where the icache doesn't fill from
the dcache or with dcache aliases.  The patch fixes this.

The ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE symbol was introduced to avoid
pointless empty cache-thrashing loops on architectures for which
flush_dcache_page() is a no-op.  Every architecture was provided with this
flush pages on architectires where ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE is
equal 1 or do nothing otherwise.

See "fix mtd_blkdevs problem with caches on some architectures" discussion
on LKML for more information.

Signed-off-by: Ilya Loginov <isloginov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Peter Horton <phorton@bitbox.co.uk>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-11-26 09:16:19 +01:00
..
boot microblaze: Support simpleImage.dts make target 2009-09-24 10:28:22 +02:00
configs microblaze: Disable heartbeat/enable emaclite in defconfigs 2009-09-24 10:30:27 +02:00
include/asm block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
kernel microblaze: Clear sticky FSR register after saving it to func parametr 2009-10-05 11:37:47 +02:00
lib microblaze: use the generic lib/checksum.c 2009-07-06 10:26:52 +02:00
mm Merge branch 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze 2009-09-24 09:01:44 -07:00
platform microblaze_v8: Makefiles for Microblaze cpu 2009-03-27 14:25:51 +01:00
Kconfig microblaze: Add architectural support for USB EHCI host controllers 2009-09-22 08:50:14 +02:00
Kconfig.debug microblaze_v8: Kconfig patches 2009-03-27 14:25:50 +01:00
Makefile microblaze: Support simpleImage.dts make target 2009-09-24 10:28:22 +02:00