[GIT PULL] RISC-V Fixes for 5.7-rc5
From: Palmer Dabbelt
Date: Fri May 08 2020 - 14:47:18 EST
merged tag 'riscv-for-linus-5.7-rc4'
The following changes since commit 1d2cc5ac6f6668cc15216d51051103c61467d7e8:
Merge tag 'riscv-for-linus-5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux (2020-04-29 09:25:32 -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.7-rc5
for you to fetch changes up to 73cb8e2a5863ccc5215660f5123db621bd57dff7:
RISC-V: Remove unused code from STRICT_KERNEL_RWX (2020-05-05 17:02:14 -0700)
----------------------------------------------------------------
RISC-V Fixes for 5.7-rc5
This contains a smattering of fixes and cleanups that I'd like to target for
5.7:
* Dead code removal.
* Exporting riscv_cpuid_to_hartid_mask for modules.
* Per-CPU tracking of ISA features.
* Setting max_pfn correctly when probing memory.
* Adding a note to the VDSO so glibc can check the kernel's version without a
uname().
* A fix to force the bootloader to initialize the boot spin tables, which still
get used as a fallback when SBI-0.1 is enabled.
----------------------------------------------------------------
Andreas Schwab (1):
riscv: add Linux note to vdso
Anup Patel (3):
RISC-V: Export riscv_cpuid_to_hartid_mask() API
RISC-V: Add bitmap reprensenting ISA features common across CPUs
RISC-V: Remove N-extension related defines
Atish Patra (1):
RISC-V: Remove unused code from STRICT_KERNEL_RWX
Vincent Chen (1):
riscv: set max_pfn to the PFN of the last page
Zong Li (1):
riscv: force __cpu_up_ variables to put in data section
arch/riscv/include/asm/csr.h | 3 --
arch/riscv/include/asm/hwcap.h | 22 ++++++++++
arch/riscv/include/asm/set_memory.h | 8 ----
arch/riscv/kernel/cpu_ops.c | 4 +-
arch/riscv/kernel/cpufeature.c | 83 +++++++++++++++++++++++++++++++++++--
arch/riscv/kernel/smp.c | 2 +
arch/riscv/kernel/vdso/Makefile | 2 +-
arch/riscv/kernel/vdso/note.S | 12 ++++++
arch/riscv/mm/init.c | 19 +--------
9 files changed, 121 insertions(+), 34 deletions(-)
create mode 100644 arch/riscv/kernel/vdso/note.S