https://github.com/torvalds/linux
Revision 2d68b7fe55d9e19a8a868224ed0dfd6526568521 authored by Catalin Marinas on 04 February 2010, 06:04:50 UTC, committed by Jeff Garzik on 04 February 2010, 06:04:50 UTC
flush_dcache_page() must be called after (!ATA_TFLAG_WRITE) the
data copying to avoid D-cache aliasing with user space or I-D cache
coherency issues (when reading data from an ATA device using PIO,
the kernel dirties the D-cache but there is no flush_dcache_page()
required on Harvard architectures).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
1 parent cedc9bf
History
Tip revision: 2d68b7fe55d9e19a8a868224ed0dfd6526568521 authored by Catalin Marinas on 04 February 2010, 06:04:50 UTC
[libata] Call flush_dcache_page after PIO data transfers in libata-sff.c
Tip revision: 2d68b7f
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 843 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 160.2 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top