[libata] Call flush_dcache_page after PIO data transfers in libata-sff.c

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>

authored by Catalin Marinas and committed by Jeff Garzik 2d68b7fe cedc9bf9

+3
+3
drivers/ata/libata-sff.c
··· 893 893 do_write); 894 894 } 895 895 896 + if (!do_write) 897 + flush_dcache_page(page); 898 + 896 899 qc->curbytes += qc->sect_size; 897 900 qc->cursg_ofs += qc->sect_size; 898 901