[GIT PULL] MIPS fixes for 5.0

From: Paul Burton
Date: Thu Feb 28 2019 - 19:57:39 EST


Hi Linus,

(Resending with fixed subject & PGP sig. /me makes more coffee...)

Here are a few late fixes it'd be great to squeeze into v5.0. They're
all pretty straightforward. Please pull.

Thanks,
Paul

The following changes since commit d13937116f1e82bf508a6325111b322c30c85eb9:

Linux 5.0-rc6 (2019-02-10 14:42:20 -0800)

are available in the Git repository at:

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

for you to fetch changes up to e0bf304e4a00d66d90904a6c5b93141f177cf6d2:

MIPS: fix memory setup for platforms with PHYS_OFFSET != 0 (2019-02-27 18:49:29 -0800)

----------------------------------------------------------------
A few more MIPS fixes:

- Fix 16b cmpxchg() operations which could erroneously fail if bits 15:8
of the old value are non-zero. In practice I'm not aware of any actual
users of 16b cmpxchg() on MIPS, but this fixes the support for it was
was introduced in v4.13.

- Provide a struct device to dma_alloc_coherent for Lantiq XWAY systems
with a "Voice MIPS Macro Core" (VMMC) device.

- Provide DMA masks for BCM63xx ethernet devices, fixing a regression
introduced in v4.19.

- Fix memblock reservation for the kernel when the system has a non-zero
PHYS_OFFSET, correcting the memblock conversion performed in v4.20.

----------------------------------------------------------------
Christoph Hellwig (1):
MIPS: lantiq: pass struct device to DMA API functions

Jonas Gorski (1):
MIPS: BCM63XX: provide DMA masks for ethernet devices

Michael Clark (1):
MIPS: fix truncation in __cmpxchg_small for short values

Thomas Bogendoerfer (1):
MIPS: fix memory setup for platforms with PHYS_OFFSET != 0

arch/mips/bcm63xx/dev-enet.c | 8 ++++++++
arch/mips/kernel/cmpxchg.c | 3 +--
arch/mips/kernel/setup.c | 3 ++-
arch/mips/lantiq/xway/vmmc.c | 4 ++--
4 files changed, 13 insertions(+), 5 deletions(-)

Attachment: signature.asc
Description: PGP signature