linux_dsm_epyc7002/arch/blackfin
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 kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
configs Blackfin: increase default async timings for parallel flashes 2009-09-16 22:10:42 -04: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 headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
lib Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
mach-bf518 Blackfin: drop all simple-gpio board resources 2009-10-08 00:58:18 -04:00
mach-bf527 Blackfin: drop all simple-gpio board resources 2009-10-08 00:58:18 -04:00
mach-bf533 Blackfin: drop all simple-gpio board resources 2009-10-08 00:58:18 -04:00
mach-bf537 Blackfin: drop all simple-gpio board resources 2009-10-08 00:58:18 -04:00
mach-bf538 Blackfin: drop all simple-gpio board resources 2009-10-08 00:58:18 -04:00
mach-bf548 Blackfin: drop all simple-gpio board resources 2009-10-08 00:58:18 -04:00
mach-bf561 Blackfin: drop all simple-gpio board resources 2009-10-08 00:58:18 -04:00
mach-common Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
mm Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Blackfin: convert to GENERIC_HARDIRQS_NO__DO_IRQ 2009-10-08 00:58:20 -04:00
Kconfig.debug Blackfin: add some isram-driver self tests 2009-09-16 22:10:36 -04:00
Makefile kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00