archive mirror
 help / color / mirror / Atom feed
* MIPS: Generic: Fix big endian CPUs on generic machine
@ 2017-01-23 14:08 Matt Redfearn
  0 siblings, 0 replies; only message in thread
From: Matt Redfearn @ 2017-01-23 14:08 UTC (permalink / raw)

From: Matt Redfearn <>

commit a3078e593b74fe196e69f122f03ff0b32f652c53 upstream.

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

Signed-off-by: Matt Redfearn <>
Fixes: eed0eabd12ef ("MIPS: generic: Introduce generic DT-based board support")
Signed-off-by: Ralf Baechle <>
Cc: Amit Pundir <>
Signed-off-by: Greg Kroah-Hartman <>

 arch/mips/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -95,6 +95,7 @@ config MIPS_GENERIC
 	select PINCTRL
 	select SMP_UP if SMP
+	select SWAP_IO_SPACE
 	select SYS_HAS_CPU_MIPS32_R1
 	select SYS_HAS_CPU_MIPS32_R2
 	select SYS_HAS_CPU_MIPS32_R6

Patches currently in stable-queue which might be from are


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-23 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 14:08 MIPS: Generic: Fix big endian CPUs on generic machine Matt Redfearn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).