Hi Linus,
Here are the main MIPS changes for 4.21, summarized below. Please pull.
Thanks,
Paul
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a:
Linux 4.20-rc1 (2018-11-04 15:37:52 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git tags/mips_4.21
for you to fetch changes up to adcc81f148d733b7e8e641300c5590a2cdc13bf3:
MIPS: math-emu: Write-protect delay slot emulation pages (2018-12-20 10:00:01
-0800)
Here's the main MIPS pull for Linux 4.21. Core architecture changes
include:
- Syscall tables & definitions for unistd.h are now generated by
scripts, providing greater consistency with other architectures &
making it easier to add new syscalls.
- Support for building kernels with no floating point support, upon
which any userland attempting to use floating point instructions will
receive a SIGILL. Mostly useful to shrink the kernel & as preparation
for nanoMIPS support which does not yet include FP.
- MIPS SIMD Architecture (MSA) vector register context is now exposed
by ptrace via a new NT_MIPS_MSA regset.
- ASIDs are now stored as 64b values even for MIPS32 kernels, expanding
the ASID version field sufficiently that we don't need to worry about
overflow & avoiding rare issues with reused ASIDs that have been
observed in the wild.
- The branch delay slot "emulation" page is now mapped without write
permission for the user, preventing its use as a nice location for
attacks to execute malicious code from.
- Support for ioremap_prot(), primarily to allow gdb or other
ptrace users the ability to view their tracee's memory using the same
cache coherency attribute.
- Optimizations to more cpu_has_* macros, allowing more to be
compile-time constant where possible.
- Enable building the whole kernel with UBSAN instrumentation.
- Enable building the kernel with link-time dead code & data
elimination.
Platform specific changes include:
- The Boston board gains a workaround for DMA prefetching issues with
the EG20T Platform Controller Hub that it uses.
- Cleanups to Cavium Octeon code removing about 20k lines of redundant
code, mostly unused or duplicate register definitions in headers.
- defconfig updates for the DECstation machines, including new
defconfigs for r4k & 64b machines.
- Further work on Loongson 3 support.
- DMA fixes for SiByte machines.
Aaro Koskinen (30):
MIPS: OCTEON: cvmx-l2c: make cvmx_l2c_spinlock static
MIPS: OCTEON: setup: make internal functions and data static
MIPS: OCTEON: setup: include asm/fw/fw.h
MIPS: OCTEON: setup: include asm/prom.h
MIPS: OCTEON: cvmx-helper: make
__cvmx_helper_errata_fix_ipd_ptr_alignment static
MIPS: OCTEON: delete unused loopback configuration functions
MIPS: OCTEON: octeon-platform: make octeon_ids static
MIPS: OCTEON: octeon-platform: fix typing
MIPS: OCTEON: octeon-irq: make octeon_irq_ciu3_set_affinity() static
MIPS: OCTEON: csrc-octeon: include linux/sched/clock.h
MIPS: OCTEON: smp: make internal symbols static
MIPS: OCTEON: cvmx-helper-util: delete cvmx_helper_dump_packet
MIPS: OCTEON: cvmx-helper-util: make cvmx_helper_setup_red_queue static
MIPS: OCTEON: make cvmx_bootmem_alloc_range static
MIPS: OCTEON: cvmx-bootmem: delete unused functions
MIPS: OCTEON: cvmx-bootmem: move code to avoid forward declarations
MIPS: OCTEON: cvmx-bootmem: make more functions static
MIPS: OCTEON: delete cvmx override functions
MIPS: OCTEON: gmxx-defs.h: delete unused functions and macros
MIPS: OCTEON: cvmx-gmxx-defs.h: delete unused unions
MIPS: OCTEON: cvmx-gmxx-defs.h: delete unused union fields
MIPS: OCTEON: cvmx-gmxx-defs.h: use default register value return when
possible
MIPS: OCTEON: cvmx-ciu2-defs.h: delete unused macros
MIPS: OCTEON: cvmx-ciu2-defs.h: delete unused unions
MIPS: OCTEON: enable all OCTEON drivers in defconfig
MIPS: OCTEON: octeon-usb: use common gpio_bit definition
MIPS: OCTEON: cvmx_pko_mem_debug8: use oldest forward compatible
definition
MIPS: OCTEON: cvmx_mio_fus_dat3: use oldest forward compatible definition
MIPS: OCTEON: cvmx_gmxx_inf_mode: use oldest forward compatible definition
MIPS: OCTEON: delete redundant register definitions
Firoz Khan (7):
mips: add __NR_syscalls along with __NR_Linux_syscalls
mips: remove unused macros
mips: rename scall64-64.S to scall64-n64.S
mips: add +1 to __NR_syscalls in uapi header
mips: remove syscall table entries
mips: add system call table generation support
mips: generate uapi header and system call table files
Hassan Naveed (2):
MIPS: Enable IOREMAP_PROT config option for