diff options
| author | Jisheng Zhang <[email protected]> | 2021-12-02 15:36:41 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2022-01-09 21:51:48 +0000 |
| commit | b0fd4b1bf995172b9efcee23600d4f69571c321c (patch) | |
| tree | b2b387e9cafa5e9053297f6ffa94d31ba9dfaadf /fs/proc/array.c | |
| parent | RISC-V: Use common riscv_cpuid_to_hartid_mask() for both SMP=y and SMP=n (diff) | |
| download | kernel-b0fd4b1bf995172b9efcee23600d4f69571c321c.tar.gz kernel-b0fd4b1bf995172b9efcee23600d4f69571c321c.zip | |
riscv: mm: fix wrong phys_ram_base value for RV64
Currently, if 64BIT and !XIP_KERNEL, the phys_ram_base is always 0,
no matter the real start of dram reported by memblock is.
Fixes: 6d7f91d914bc ("riscv: Get rid of CONFIG_PHYS_RAM_BASE in kernel physical address conversion")
Signed-off-by: Jisheng Zhang <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
