From: David Daney Date: Fri, 14 Nov 2014 14:26:19 +0000 (+0300) Subject: serial: 8250_dw: Use 64-bit access for OCTEON. X-Git-Tag: omap-for-v3.19/fixes-rc1~86^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bca2092d78970df3959462d2aae1941e6b24ebdf;p=pandora-kernel.git serial: 8250_dw: Use 64-bit access for OCTEON. Although the existing code appears to work on most hardware, the hardware designers tell us that 8-bit access to the registers is not guaranteed to be reliable. Also the OCTEON simulation environments prohibit 8-bit accesses. For these reasons, we use __raw_readq/__raw_writeq for OCTEON. This code is protected with #ifdef CONFIG_64BIT so it still builds under configurations lacking readq/writeq. We can get rid of the #ifdef __BIG_ENDIAN, as under 64-bit accesses, OCTEON is byte order invariant. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed