diff options
author | Martyn Welch <martyn.welch@ge.com> | 2012-07-19 18:48:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-20 00:39:39 +0200 |
commit | 363e2e6f9e2d9ca53fb87e3988e2a225dc879aa4 (patch) | |
tree | 98e316e22bea15046819c1d44338b99bc48009fe /lib/pci_iomap.c | |
parent | staging: sm7xxfb: fix for "rename smtc_screen_info to smtc_scr_info" (diff) | |
download | linux-363e2e6f9e2d9ca53fb87e3988e2a225dc879aa4.tar.xz linux-363e2e6f9e2d9ca53fb87e3988e2a225dc879aa4.zip |
VME: Prevent D16 cycles being split into 8-bit blocks
The memcpy_fromio() and memcpy_toio() functions use the __memcpy() function,
at least on x86. This function carries out transfers smaller than 32 bits as
multiple 8 bit transfers, causing a single (aligned) 16 bit transfer to be
split into 2 8 bit transfers which may not be supported by the target VME
device.
The commit 53059aa05988761a738fa8bc082bbf3c5d4462d1 fixed this for the
ca91cx42, however this was not fixed for the tsi148 at the time. This patch
uses the same algorithm to fix the tsi148.
Reported-by: Daniel Lambert <daniel.lambert@clermont.in2p3.fr>
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/pci_iomap.c')
0 files changed, 0 insertions, 0 deletions