linux/arch
Stuart Menefy 5c8405d763
riscv: Extend sv39 linear mapping max size to 128G
This harmonizes all virtual addressing modes which can now all map
(PGDIR_SIZE * PTRS_PER_PGD) / 4 of physical memory.

The RISCV implementation of KASAN requires that the boundary between
shallow mappings are aligned on an 8G boundary. In this case we need
VMALLOC_START to be 8G aligned. So although we only need to move the
start of the linear mapping down by 4GiB to allow 128GiB to be mapped,
we actually move it down by 8GiB (creating a 4GiB hole between the
linear mapping and KASAN shadow space) to maintain the alignment
requirement.

Signed-off-by: Stuart Menefy <stuart.menefy@codasip.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240630110550.1731929-1-stuart.menefy@codasip.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-07-26 05:50:50 -07:00
..
alpha mseal: wire up mseal syscall 2024-05-23 19:40:26 -07:00
arc arc: convert to generic syscall table 2024-07-10 14:23:38 +02:00
arm sound updates for 6.11-rc1 2024-07-19 12:39:34 -07:00
arm64 Merge patch series "Add ACPI NUMA support for RISC-V" 2024-07-22 10:31:51 -07:00
csky ftrace: Rewrite of function graph tracer 2024-07-18 13:36:33 -07:00
hexagon hexagon: use new system call table 2024-07-10 14:23:38 +02:00
loongarch Merge patch series "Add ACPI NUMA support for RISC-V" 2024-07-22 10:31:51 -07:00
m68k asm-generic updates for 6.11 2024-07-16 12:09:03 -07:00
microblaze syscalls: mmap(): use unsigned offset type consistently 2024-06-25 15:57:38 +02:00
mips - added support for Realtek RTL9302C 2024-07-20 09:03:36 -07:00
nios2 nios2: convert to generic syscall table 2024-07-10 14:23:38 +02:00
openrisc openrisc: convert to generic syscall table 2024-07-10 14:23:38 +02:00
parisc clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
powerpc powerpc updates for 6.11 2024-07-19 21:00:33 -07:00
riscv riscv: Extend sv39 linear mapping max size to 128G 2024-07-26 05:50:50 -07:00
s390 s390 updates for 6.11 merge window 2024-07-18 15:41:45 -07:00
sh - New Drivers 2024-07-17 17:42:20 -07:00
sparc This includes the following changes related to sparc for v6.11: 2024-07-18 15:48:41 -07:00
um virtio: features, fixes, cleanups 2024-07-19 11:57:55 -07:00
x86 This update includes the following changes: 2024-07-19 08:52:58 -07:00
xtensa asm-generic updates for 6.11 2024-07-16 12:09:03 -07:00
.gitignore
Kconfig Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default" 2024-06-17 12:57:03 -07:00