linux/arch/mips/boot/dts
Mark Brown 320549a224 regmap: mmio: Revert to v4.4 endianness handling
Commit 29bb45f25f (regmap-mmio: Use native endianness for read/write)
attempted to fix some long standing bugs in the MMIO implementation for
big endian systems caused by duplicate byte swapping in both regmap and
readl()/writel() which affected MIPS systems as when they are in big
endian mode they flip the endianness of all registers in the system, not
just the CPU.  MIPS systems had worked around this by declaring regmap
using IPs as little endian which is inaccurate, unfortunately the issue
had not been reported.

Sadly the fix makes things worse rather than better.  By changing the
behaviour to match the documentation it caused behaviour changes for
other IPs which broke them and by using the __raw I/O accessors to avoid
the endianness swapping in readl()/writel() it removed some memory
ordering guarantees and could potentially generate unvirtualisable
instructions on some architectures.

Unfortunately sorting out all this mess in any half way sensible fashion
was far too invasive to go in during an -rc cycle so instead let's go
back to the old broken behaviour for v4.5, the better fixes are already
queued for v4.6.  This does mean that we keep the broken MIPS DTs for
another release but that seems the least bad way of handling the
situation.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-02-05 11:22:04 +00:00
..
brcm regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
cavium-octeon MIPS: OCTEON: add GPIO LED support for DSR-1000N 2015-04-01 17:22:10 +02:00
include MIPS: Fix invalid symbolic link file 2013-09-19 17:04:35 +02:00
ingenic MIPS: dts: jz4780/ci20: Add NEMC, BCH and NAND device tree nodes 2016-01-04 09:42:26 +01:00
lantiq MIPS: Move device-trees into vendor sub-directories 2015-04-01 17:21:34 +02:00
mti MIPS: Malta: Setup RAM regions via DT 2015-11-11 08:35:47 +01:00
netlogic MIPS: Netlogic: add device tree entry for XLP GPIO 2015-09-03 12:08:03 +02:00
pic32 MIPS: dts: Add initial DTS for the PIC32MZDA Starter Kit 2016-01-24 02:54:00 +01:00
qca MIPS: ath79: Enable the USB port on the TL-WR1043ND 2016-01-04 09:42:25 +01:00
ralink MIPS: Move device-trees into vendor sub-directories 2015-04-01 17:21:34 +02:00
xilfpga MIPS: xilfpga: Add xilfpga device tree files. 2015-11-11 08:38:42 +01:00
Makefile MIPS: dts: Add initial DTS for the PIC32MZDA Starter Kit 2016-01-24 02:54:00 +01:00