linux/arch/riscv
Atish Patra cbd34f4bb3
riscv: Separate memory init from paging init
Currently, we perform some memory init functions in paging init. But,
that will be an issue for NUMA support where DT needs to be flattened
before numa initialization and memblock_present can only be called
after numa initialization.

Move memory initialization related functions to a separate function.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Greentime Hu <greentime.hu@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-01-14 15:08:56 -08:00
..
boot riscv: Fix Canaan Kendryte K210 device tree 2021-01-14 15:08:47 -08:00
configs riscv: Use vendor name for K210 SoC support 2021-01-14 15:08:46 -08:00
include riscv: Separate memory init from paging init 2021-01-14 15:08:56 -08:00
kernel riscv: Separate memory init from paging init 2021-01-14 15:08:56 -08:00
lib riscv: provide memmove implementation 2020-12-10 17:27:54 -08:00
mm riscv: Separate memory init from paging init 2021-01-14 15:08:56 -08:00
net treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kbuild riscv: Allow device trees to be built into the kernel 2020-05-18 11:38:05 -07:00
Kconfig RISC-V Patches for the 5.11 Merge Window, Part 1 2020-12-18 10:43:07 -08:00
Kconfig.debug
Kconfig.socs riscv: Add Canaan Kendryte K210 reset controller 2021-01-14 15:08:53 -08:00
Makefile riscv: Use vendor name for K210 SoC support 2021-01-14 15:08:46 -08:00