WSL2-Linux-Kernel/drivers/mtd/ubi
Kevin Cernekee 98fb1ffd81 UBI: block: Add missing cache flushes
Block drivers are responsible for calling flush_dcache_page() on each
BIO request. This operation keeps the I$ coherent with the D$ on
architectures that don't have hardware coherency support. Without this
flush, random crashes are seen when executing user programs from an ext4
filesystem backed by a ubiblock device.

This patch is based on the change implemented in commit 2d4dc890b5
("block: add helpers to run flush_dcache_page() against a bio and a
request's pages").

Fixes: 9d54c8a33e ("UBI: R/O block driver on top of UBI volumes")
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-05-06 22:52:22 +02:00
..
Kconfig UBI: block: Add CONFIG_BLOCK dependency 2014-03-04 14:49:53 +02:00
Makefile UBI: R/O block driver on top of UBI volumes 2014-02-28 16:29:48 +02:00
attach.c UBI: Fastmap: Fall back to scanning mode after ECC error 2015-03-26 23:03:15 +01:00
block.c UBI: block: Add missing cache flushes 2015-05-06 22:52:22 +02:00
build.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2015-04-26 17:22:07 -07:00
cdev.c UBI: fix check for "too many bytes" 2015-03-26 12:07:18 +01:00
debug.c UBI: power cut emulation for testing 2015-04-13 21:05:17 +02:00
debug.h UBI: power cut emulation for testing 2015-04-13 21:05:17 +02:00
eba.c UBI: Fastmap: Locking updates 2015-03-26 22:46:02 +01:00
fastmap-wl.c UBI: Fastmap: Remove is_fm_block() 2015-03-26 22:47:38 +01:00
fastmap.c UBI: Fastmap: Wire up WL accessor functions 2015-03-26 22:47:35 +01:00
gluebi.c UBI: gluebi: rename misleading variables 2012-11-30 13:54:41 +02:00
io.c UBI: power cut emulation for testing 2015-04-13 21:05:17 +02:00
kapi.c VFS: assorted d_backing_inode() annotations 2015-04-15 15:06:59 -04:00
misc.c UBI: fix soft lockup in ubi_check_volume() 2015-01-28 16:18:09 +01:00
ubi-media.h UBI: Fastmap: Make WL pool size 50% of user pool size 2015-03-26 22:46:00 +01:00
ubi.h UBI: power cut emulation for testing 2015-04-13 21:05:17 +02:00
upd.c UBI: Fix invalid vfree() 2014-11-07 15:14:09 +02:00
vmt.c UBI: Extend UBI layer debug/messaging capabilities 2014-11-07 12:08:51 +02:00
vtbl.c UBI: extend UBI layer debug/messaging capabilities - cosmetics 2015-01-28 16:09:09 +01:00
wl.c UBI: Fastmap: Remove is_fm_block() 2015-03-26 22:47:38 +01:00
wl.h UBI: Fastmap: Remove is_fm_block() 2015-03-26 22:47:38 +01:00