linux-stable/arch/riscv
Xianting Tian f46e3ebf6d RISC-V: Add modules to virtual kernel memory layout dump
commit f9293ad46d upstream.

Modules always live before the kernel, MODULES_END is fixed but
MODULES_VADDR isn't fixed, it depends on the kernel size.
Let's add it to virtual kernel memory layout dump.

As MODULES is only defined for CONFIG_64BIT, so we dump it when
CONFIG_64BIT=y.

eg,
MODULES_VADDR - MODULES_END
0xffffffff01133000 - 0xffffffff80000000

Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220811074150.3020189-5-xianting.tian@linux.alibaba.com
Cc: stable@vger.kernel.org
Fixes: 2bfc6cd81b ("riscv: Move kernel mapping outside of linear mapping")
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-17 15:13:50 +02:00
..
boot riscv: dts: starfive: correct number of external interrupts 2022-08-17 15:13:49 +02:00
configs RISC-V: configs: Configs that had RPMSG_CHAR now get RPMSG_CTRL 2022-04-26 08:19:53 -07:00
errata riscv: don't warn for sifive erratas in modules 2022-07-07 23:09:16 -07:00
include RISC-V: Declare cpu_ops_spinwait in <asm/cpu_ops.h> 2022-08-17 15:13:49 +02:00
kernel RISC-V: Fixup schedule out issue in machine_crash_shutdown() 2022-08-17 15:13:49 +02:00
kvm RISC-V: KVM: Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests() 2022-07-11 09:36:32 +05:30
lib riscv: lib: uaccess: fix CSR_STATUS SR_SUM bit 2022-08-17 15:13:49 +02:00
mm RISC-V: Add modules to virtual kernel memory layout dump 2022-08-17 15:13:50 +02:00
net riscv, bpf: Implement more atomic operations for RV64 2022-04-11 16:54:54 +02:00
purgatory RISC-V: Add purgatory 2022-05-19 12:18:59 -07:00
Kbuild riscv: move errata/ and kvm/ builds to arch/riscv/Kbuild 2022-06-01 22:26:32 -07:00
Kconfig riscv/mm: fix build error while PAGE_TABLE_CHECK enabled without MMU 2022-07-03 15:42:32 -07:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.erratas riscv: fix dependency for t-head errata 2022-06-16 15:42:55 -07:00
Kconfig.socs RISC-V Patches for the 5.19 Merge Window, Part 1 2022-05-31 14:10:54 -07:00
Makefile riscv: compat: vdso: Fix vdso_install target 2022-07-22 12:23:14 -07:00