From: Palmer Dabbelt Date: Thu, 11 Jan 2024 16:04:38 +0000 (-0800) Subject: Merge patch series "riscv: mm: Fixup & Optimize COMPAT code" X-Git-Tag: v6.8-rc1~10^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4abde52b4b116111537593e2744b3234d18808d;p=thirdparty%2Flinux.git Merge patch series "riscv: mm: Fixup & Optimize COMPAT code" guoren@kernel.org says: From: Guo Ren When the task is in COMPAT mode, the TASK_SIZE should be 2GB, so STACK_TOP_MAX and arch_get_mmap_end must be limited to 2 GB. This series fixes the problem made by commit: add2cc6b6515 ("RISC-V: mm: Restrict address space for sv39,sv48,sv57") and optimizes the related coding convention of TASK_SIZE. * b4-shazam-merge: riscv: mm: Fixup compat arch_get_mmap_end riscv: mm: Fixup compat mode boot failure Link: https://lore.kernel.org/r/20231222115703.2404036-1-guoren@kernel.org Signed-off-by: Palmer Dabbelt --- d4abde52b4b116111537593e2744b3234d18808d