[GIT PULL] RISC-V Fixes for 5.8-rc3
From: Palmer Dabbelt
Date: Fri Jun 26 2020 - 13:40:32 EST
The following changes since commit 48778464bb7d346b47157d21ffde2af6b2d39110:
Linux 5.8-rc2 (2020-06-21 15:45:29 -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.8-rc3
for you to fetch changes up to e05d57dcb8c71492268ff46ba9bfe9a9cfb1f95d:
riscv: Fixup __vdso_gettimeofday broke dynamic ftrace (2020-06-25 15:38:39 -0700)
----------------------------------------------------------------
RISC-V Fixes for 5.8-rc3
This contains a handful of fixes I'd like to target for rc3. Most of them fix
issues with the conversion of our vDSO to C. There is also one fix to the
SiFive PRCI driver that I picked up as it's causing boot issues on the
hardware.
* A fix to allow kernels with dynamic ftrace to use the vDSO.
* Some build fixes for the C vDSO functions.
* A fix to the PRCI driver's memory allocation, which was the cause of some
boot panics with FREELIST_RANDOM.
----------------------------------------------------------------
Guo Ren (1):
riscv: Fixup __vdso_gettimeofday broke dynamic ftrace
Vincent Chen (3):
riscv: Add -fPIC option to CFLAGS_vgettimeofday.o
clk: sifive: allocate sufficient memory for struct __prci_data
riscv: Add extern declarations for vDSO time-related functions
arch/riscv/kernel/vdso/Makefile | 5 ++++-
arch/riscv/kernel/vdso/vgettimeofday.c | 6 ++++++
drivers/clk/sifive/fu540-prci.c | 5 ++++-
3 files changed, 14 insertions(+), 2 deletions(-)