2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/drivers/vme
Martyn Welch f0342e66b3 VME: Correct read/write alignment algorithm
In order to ensure the correct width cycles on the VME bus, the VME bridge
drivers implement an algorithm to utilise the largest possible width reads and
writes whilst maintaining natural alignment constraints. The algorithm
currently looks at the start address rather than the current read/write address
when determining whether a 16-bit width cycle is required to get to 32-bit
alignment.  This results in incorrect alignment,

Reported-by: Jim Strouth <james.strouth@ge.com>
Tested-by: Jim Strouth <james.strouth@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-07 08:16:14 -08:00
..
boards vme: remove DEFINE_PCI_DEVICE_TABLE macro 2013-12-03 11:15:58 -08:00
bridges VME: Correct read/write alignment algorithm 2014-02-07 08:16:14 -08:00
Kconfig vme: Convert VME core to register as a subsystem 2013-12-17 17:06:19 -08:00
Makefile
vme_bridge.h
vme.c vme: Convert VME core to register as a subsystem 2013-12-17 17:06:19 -08:00