MIPS: Generic: Fix big endian CPUs on generic machine

[email protected]
Newsgroups gmane.linux.ports.mips.cvs
Message-ID <S23993930AbdAXPSGXTyDK/[email protected]>
Author: Matt Redfearn <[email protected]> Mon Jan 23 14:08:13 2017 +0000
Comitter: Ralf Baechle <[email protected]> Tue Jan 24 16:17:02 2017 +0100
Commit: 53e099e807ecf67dd163de005701634a4c43636b
Gitweb: https://git.linux-mips.org/g/ralf/linux/53e099e807ec
Branch: master

Big endian CPUs require SWAP_IO_SPACE enabled to swap accesses to little
endian peripherals.

Without this patch, big endian kernels fail to communicate with little
endian periperals, such as PCI devices, on QEMU and FPGA based
platforms.

Signed-off-by: Matt Redfearn <[email protected]>
Fixes: eed0eabd12ef ("MIPS: generic: Introduce generic DT-based board support")
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/15105/
Signed-off-by: Ralf Baechle <[email protected]>

---

 arch/mips/Kconfig |    1 +
 1 file changed, 1 insertion(+)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.