MIPS: Generic: Fix big endian CPUs on generic machine
| Newsgroups | gmane.linux.ports.mips.cvs |
|---|---|
| Message-ID | <S23993931AbdAXPR7f8fzK/[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:28 2017 +0100 Commit: 7c5f5b6d93f379ef9e94938a084dca48b5adcebc Gitweb: https://git.linux-mips.org/g/ralf/linux/7c5f5b6d93f3 Branch: linux-4.9-stable 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]> (cherry picked from commit 53e099e807ecf67dd163de005701634a4c43636b) --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+)