[GIT PULL] RISC-V updates for v5.5-rc4

From: Paul Walmsley
Date: Sun Dec 29 2019 - 13:17:52 EST


Linus,

The following changes since commit 46cf053efec6a3a5f343fead837777efe8252a46:

Linux 5.5-rc3 (2019-12-22 17:02:23 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv/for-v5.5-rc4

for you to fetch changes up to 1833e327a5ea1d1f356fbf6ded0760c9ff4b0594:

riscv: export flush_icache_all to modules (2019-12-27 21:51:01 -0800)

----------------------------------------------------------------
RISC-V updates for v5.5-rc4

One important fix for RISC-V:

- Redirect any incoming syscall with an ID less than -1 to
sys_ni_syscall, rather than allowing them to fall through into the
syscall handler.

and two minor build fixes:

- Export __asm_copy_{from,to}_user() from where they are defined.
This fixes a build error triggered by some randconfigs.

- Export flush_icache_all(). I'd resisted this before, since
historically we didn't want modules to be able to flush the I$
directly; but apparently everyone else is doing it now.

----------------------------------------------------------------
David Abdurachmanov (1):
riscv: reject invalid syscalls below -1

Luc Van Oostenryck (1):
riscv: fix compile failure with EXPORT_SYMBOL() & !MMU

Olof Johansson (1):
riscv: export flush_icache_all to modules

arch/riscv/kernel/entry.S | 1 +
arch/riscv/kernel/riscv_ksyms.c | 3 ---
arch/riscv/lib/uaccess.S | 4 ++++
arch/riscv/mm/cacheflush.c | 1 +
4 files changed, 6 insertions(+), 3 deletions(-)


Kernel object size difference:
text data bss dec hex filename
6896332 2329908 313920 9540160 919240 vmlinux.rv64.orig
6896379 2329908 313920 9540207 91926f vmlinux.rv64.patched
6656967 1939072 257576 8853615 87186f vmlinux.rv32.orig
6656994 1939072 257576 8853642 87188a vmlinux.rv32.patched
1171666 353368 130024 1655058 194112 vmlinux.nommu_virt.orig
1171674 353368 130024 1655066 19411a vmlinux.nommu_virt.patched