linux/arch/riscv
Kefeng Wang a5406a7ff5
riscv: Correct SPARSEMEM configuration
There are two issues for RV32,
1) if use FLATMEM, it is useless to enable SPARSEMEM_STATIC.
2) if use SPARSMEM, both SPARSEMEM_VMEMMAP and SPARSEMEM_STATIC is enabled.

Fixes: d95f1a542c ("RISC-V: Implement sparsemem")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-03-16 22:15:21 -07:00
..
boot RISC-V Patches for the 5.12 Merge Window 2021-02-26 10:28:35 -08:00
configs RISC-V: Enable CPU Hotplug in defconfigs 2021-02-26 21:24:02 -08:00
include riscv: process: Fix no prototype for arch_dup_task_struct 2021-03-09 20:46:07 -08:00
kernel RISC-V: Fix out-of-bounds accesses in init_resources() 2021-03-16 21:55:11 -07:00
lib riscv: Add support for function error injection 2021-01-14 15:09:09 -08:00
mm RISC-V: kasan: Declare kasan_shallow_populate() static 2021-03-16 22:01:04 -07:00
net bpf: Rename BPF_XADD and prepare to encode other atomics in .imm 2021-01-14 18:34:29 -08:00
Kbuild riscv: Allow device trees to be built into the kernel 2020-05-18 11:38:05 -07:00
Kconfig riscv: Correct SPARSEMEM configuration 2021-03-16 22:15:21 -07:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs riscv: Fix compilation error with Canaan SoC 2021-03-16 21:54:27 -07:00
Makefile riscv: Enable per-task stack canaries 2021-01-14 15:09:10 -08:00