[GIT PULL] RISC-V Fixes for 5.10-rc3

From: Palmer Dabbelt
Date: Sat Nov 07 2020 - 02:41:20 EST


The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.10-rc3

for you to fetch changes up to c2c81bb2f69138f902e1a58d3bef6ad97fb8a92c:

RISC-V: Fix the VDSO symbol generaton for binutils-2.35+ (2020-11-06 00:03:48 -0800)

----------------------------------------------------------------
RISC-V Fixes for 5.10-rc3

* An SPDX comment style fix.
* A fix to ignore memory that is unusable.
* A fix to avoid setting a kernel text offset for the !MMU kernels, where
skipping the first page of memory is both unnecessary and costly.
* A fix to avoid passing the flag bits in satp to pfn_to_virt().
* A fix to __put_kernel_nofault, where we had the arguments to
__put_user_nocheck reversed.
* A workaround for a bug in the FU540 to avoid triggering PMP issues during
early boot.
* A change to how we pull symbols out of the vDSO. The old mechanism was
removed from binutils-2.35 (and has been backported to Debian's 2.34).

----------------------------------------------------------------
Anup Patel (1):
RISC-V: Use non-PGD mappings for early DTB access

Atish Patra (1):
RISC-V: Remove any memblock representing unusable memory area

Changbin Du (1):
riscv: uaccess: fix __put_kernel_nofault()

Liu Shaohua (1):
riscv: fix pfn_to_virt err in do_page_fault().

Palmer Dabbelt (1):
RISC-V: Fix the VDSO symbol generaton for binutils-2.35+

Ryan Kosta (1):
risc-v: kernel: ftrace: Fixes improper SPDX comment style

Sean Anderson (1):
riscv: Set text_offset correctly for M-Mode

arch/riscv/include/asm/uaccess.h | 2 +-
arch/riscv/kernel/ftrace.c | 2 +-
arch/riscv/kernel/head.S | 5 +++++
arch/riscv/kernel/vdso/.gitignore | 1 +
arch/riscv/kernel/vdso/Makefile | 18 +++++++++---------
arch/riscv/kernel/vdso/so2s.sh | 6 ++++++
arch/riscv/mm/fault.c | 4 +++-
arch/riscv/mm/init.c | 32 +++++++++++++++++++++-----------
8 files changed, 47 insertions(+), 23 deletions(-)
create mode 100755 arch/riscv/kernel/vdso/so2s.sh