[GIT PULL] MIPS fixes for 5.0

From: Paul Burton
Date: Sat Feb 09 2019 - 14:42:54 EST


Hi Linus,

Here's a batch of MIPS fixes for 5.0; my apologies that these have built
up over a few busy weeks. Please pull.

Thanks,
Paul

The following changes since commit 49a57857aeea06ca831043acbb0fa5e0f50602fd:

Linux 5.0-rc3 (2019-01-21 13:14:44 +1300)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git tags/mips_fixes_5.0_3

for you to fetch changes up to 05dc6001af0630e200ad5ea08707187fe5537e6d:

mips: cm: reprime error cause (2019-02-07 11:55:24 -0800)

----------------------------------------------------------------
A batch of MIPS fixes for 5.0, nothing too scary.

- A workaround for a Loongson 3 CPU bug is the biggest change, but
still fairly straightforward. It adds extra memory barriers (sync
instructions) around atomics to avoid a CPU bug that can break
atomicity.

- Loongson64 also sees a fix for powering off some systems which would
incorrectly reboot rather than waiting for the power down sequence to
complete.

- We have DT fixes for the Ingenic JZ4740 SoC & the JZ4780-based Ci20
board, and a DT warning fix for the Nexsys4/MIPSfpga board.

- The Cavium Octeon platform sees a further fix to the behaviour of the
pcie_disable command line argument that was introduced in v3.3.

- The VDSO, introduced in v4.4, sees build fixes for configurations of
GCC that were built using the --with-fp-32= flag to specify a default
32-bit floating point ABI.

- get_frame_info() sees a fix for configurations with
CONFIG_KALLSYMS=n, for which it previously always returned an error.

- If the MIPS Coherence Manager (CM) reports an error then we'll now
clear that error correctly so that the GCR_ERROR_CAUSE register will
be updated with information about any future errors.

----------------------------------------------------------------
Aaro Koskinen (1):
MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled

Huacai Chen (1):
MIPS: Loongson: Introduce and use loongson_llsc_mb()

Jun-Ru Chang (1):
MIPS: Remove function size check in get_frame_info()

Paul Burton (3):
MIPS: VDSO: Use same -m%-float cflag as the kernel proper
MIPS: VDSO: Include $(ccflags-vdso) in o32,n32 .lds builds
MIPS: Use lower case for addresses in nexys4ddr.dts

Paul Cercueil (1):
MIPS: DTS: jz4740: Correct interrupt number of DMA core

Vladimir Kondratiev (1):
mips: cm: reprime error cause

Yifeng Li (1):
mips: loongson64: remove unreachable(), fix loongson_poweroff().

Zhou Yanjie (1):
DTS: CI20: Fix bugs in ci20's device tree.

arch/mips/Kconfig | 15 +++++++++++++
arch/mips/boot/dts/ingenic/ci20.dts | 8 +++----
arch/mips/boot/dts/ingenic/jz4740.dtsi | 2 +-
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 8 +++----
arch/mips/include/asm/atomic.h | 6 ++++++
arch/mips/include/asm/barrier.h | 36 ++++++++++++++++++++++++++++++++
arch/mips/include/asm/bitops.h | 5 +++++
arch/mips/include/asm/futex.h | 3 +++
arch/mips/include/asm/pgtable.h | 2 ++
arch/mips/kernel/mips-cm.c | 2 +-
arch/mips/kernel/process.c | 7 +++----
arch/mips/loongson64/Platform | 23 ++++++++++++++++++++
arch/mips/loongson64/common/reset.c | 7 ++++++-
arch/mips/mm/tlbex.c | 10 +++++++++
arch/mips/pci/pci-octeon.c | 10 ++++-----
arch/mips/vdso/Makefile | 5 +++--
16 files changed, 127 insertions(+), 22 deletions(-)

Attachment: signature.asc
Description: PGP signature