Here are the main MIPS updates for 4.20:

  - kexec support for the generic MIPS platform when running on a CPU
    including the MIPS Coherence Manager & related hardware.

  - Improvements to the definition of memory barriers used around MMIO
    accesses, and fixes in their use.

  - Switch to CONFIG_NO_BOOTMEM from Mike Rapoport, finally dropping
    reliance on the old bootmem code.

  - A number of fixes & improvements for Loongson 3 systems.

  - DT & config updates for the Microsemi Ocelot platform.

  - Workaround to enable USB power on the Netgear WNDR3400v3.

  - Various cleanups & fixes.
MIPS: Cleanup DSP ASE detection

Currently we hardcode a list of files for which we specify that the
toolchain has DSP ASE support when building for MIPSr2 only. This has a
number of problems:

  1) It doesn't actually ensure that the toolchain supports the DSP ASE
     at all.

  2) It's fragile if we try to use DSP ASE macros in other files.

  3) It makes no provision for MIPSr6 & later systems which also support
     the DSP ASE & end up using the .word directive implementation of
     the DSP macros.

Fix this by detecting assembler support for the DSP ASE globally, not
just for a small set of files, and not just for MIPSr2. This now exposes
use of toolchain DSP support to kernel builds targeting MIPSr1 and
older, so we add .set MIPS_ISA_LEVEL directives prior to all .set dsp
directives in order to prevent the assembler from complaining that the
DSP ASE is only supported with MIPSr2 & higher.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20901/
Cc: linux-mips@linux-mips.org
3 files changed