linux/arch/riscv
Alexandre Ghiti db1503d355
riscv: Get rid of MAXPHYSMEM configs
CONFIG_MAXPHYSMEM_* are actually never used, even the nommu defconfigs
selecting the MAXPHYSMEM_2GB had no effects on PAGE_OFFSET since it was
preempted by !MMU case right before.

In addition, the move of the kernel mapping at the end of the address
space broke the use of MAXPHYSMEM_2G with MMU since it defines PAGE_OFFSET
at the same address as the kernel mapping.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 2bfc6cd81b ("riscv: Move kernel mapping outside of linear mapping")
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Conor Dooley <Conor.Dooley@microchip.com>
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-01-19 15:12:32 -08:00
..
boot RISC-V DTS changes for v5.16 2021-10-21 08:22:37 -07:00
configs riscv: Get rid of MAXPHYSMEM configs 2022-01-19 15:12:32 -08:00
errata riscv: skip errata_cip_453.o if CONFIG_ERRATA_SIFIVE_CIP_453 is disabled 2021-06-01 21:16:41 -07:00
include RISC-V Patches for the 5.16 Merge Window, Part 1 2021-11-13 09:15:42 -08:00
kernel RISC-V Patches for the 5.16 Merge Window, Part 1 2021-11-13 09:15:42 -08:00
kvm RISC-V: KVM: fix boolreturn.cocci warnings 2021-11-01 17:35:17 +05:30
lib include/linux/delay.h: replace kernel.h with the necessary inclusions 2021-11-09 10:02:49 -08:00
mm RISC-V Patches for the 5.16 Merge Window, Part 1 2021-11-13 09:15:42 -08:00
net riscv, bpf: Fix RV32 broken build, and silence RV64 warning 2021-11-05 16:52:34 +01:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig riscv: Get rid of MAXPHYSMEM configs 2022-01-19 15:12:32 -08:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.erratas riscv: enable SiFive errata CIP-453 and CIP-1200 Kconfig only if CONFIG_64BIT=y 2021-05-06 09:40:13 -07:00
Kconfig.socs riscv: sifive: fix Kconfig errata warning 2021-06-12 17:20:50 -07:00
Makefile RISC-V Patches for the 5.16 Merge Window, Part 1 2021-11-13 09:15:42 -08:00