linux/arch/mips/boot/dts/brcm
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
..
bcm9ejtagprb.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm3384_viper.dtsi MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm3384_zephyr.dtsi MIPS: BMIPS: Refresh BCM3384 DTS files 2015-04-01 17:21:42 +02:00
bcm6328.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm6368.dtsi MIPS: bmips: Improve BCM6368 device tree 2016-01-24 02:34:36 +01:00
bcm7125.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm7346.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm7358.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm7360.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm7362.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm7420.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm7425.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm7435.dtsi regmap: mmio: Revert to v4.4 endianness handling 2016-02-05 11:22:04 +00:00
bcm93384wvg_viper.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm93384wvg.dts MIPS: BMIPS: Refresh BCM3384 DTS files 2015-04-01 17:21:42 +02:00
bcm96368mvwg.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm97125cbmb.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm97346dbsmb.dts MIPS: BMIPS: Add SATA/PHY nodes for bcm7346 2015-11-11 08:37:49 +01:00
bcm97358svmb.dts MIPS: BMIPS: Add I2C node for bcm7358 2015-11-11 08:37:39 +01:00
bcm97360svmb.dts MIPS: BMIPS: Add I2C node for bcm7360 2015-11-11 08:37:42 +01:00
bcm97362svmb.dts MIPS: BMIPS: Add SATA/PHY nodes for bcm7362 2015-11-11 08:37:51 +01:00
bcm97420c.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm97425svmb.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm97435svmb.dts MIPS: BMIPS: Add support for Broadcom BCM97435SVMB 2015-06-21 21:53:34 +02:00
Makefile MIPS: BMIPS: Build all dtbs if no builtin dtb 2015-06-21 21:54:16 +02:00